Release a bidMessage from Procure()
Source position: exec.pas line 1826
procedure Vacate( |
SigSem: PSignalSemaphore; |
BidMessage: PSemaphoreMessage |
); |
SigSem |
|
The SignalSemaphore that you wish to Vacate() |
This function can be used to release a semaphore obtained via Procure(). However, the main purpose for this call is to be able to remove a bid for a semaphore that has not yet responded. This is required when a Procure() was issued and the program no longer needs to get the semaphore and wishes to cancel the Procure() request. The canceled request will be replied with the ssm_Semaphore field set to nil. If you own the semaphore, the message was already replied and only the ssm_Semaphore field will be cleared.
|
Get a List of semaphores |
|
|
Initialize a signal semaphore |
|
|
Make signal semaphore available to others |
|
|
Try to obtain a Semaphore without blocking |
|
|
Gain exclusive access to a semaphore |
|
|
Gain access to a semaphore in shared mode |
|
|
Asynchron locking of a semaphore |