Try to obtain a Semaphore without blocking
Source position: exec.pas line 2064
function AttemptSemaphore( |
sigSem: PSignalSemaphore |
):Cardinal; |
sigSem |
|
An initialized signal semaphore structure |
True if the semaphore was locked, false if some other task already possessed the semaphore.
Try to obtain a lock on a Semaphore in exclusive mode all other exclusive and shared locks on this semaphore has to be released before. This call is similar to ObtainSemaphore(), except that it will not block if the semaphore could not be locked.
|
Make signal semaphore available to others |
|
|
Gain exclusive access to a semaphore |
|
|
Try to obtain a Semaphore without blocking in shared mode |
|
|
Gain access to a semaphore in shared mode |