[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Destroy a semaphore
Source position: threadh.inc line 179
procedure SemaphoreDestroy( |
const sem: Pointer |
); |
SemaphoreDestroy destroys a semaphore, created with SemaphoreInit.
The use of semaphores requires thread support (use #rtl.cthreads unit on unices).
If no thread support is compiled in, then calling this function will result in a run-time error 232.
|
Initialize the thread manager with a POSIX thread manager |
|
|
Wait for semaphore to become available |
|
|
Make semaphore available |
|
|
Create a new semaphore |