|
pure virtual |
Attempts to lock the semaphore.
If the semaphores value is greater than zero, then this method will decrement the semaphore's value and immediately return. If the value of the semaphore is zero, then the call blocks until it becomes possible to perform the decrement (the semaphore's value becomes greater than zero).