Unlocks the semaphore causing another process or thread that is currently waiting in wait() to be woken up and proceed to lock the semaphore.