semaphore-wait
Name
semaphore-wait -- Decrement semaphore count, blocking if negative.
Type: function
Synopsis
Arguments
- sem
An instance of <semaphore>
Description
Decrements the semaphore counter, blocking the current thread
if the count becomes negative.