The semaphore manager provides functions to allocate, delete, and control semaphores. This manager is based on the POSIX 1003.1 standard.
The directives provided by the semaphore manager are:
sem_init
- Initialize an unnamed semaphore
sem_destroy
- Destroy an unnamed semaphore
sem_open
- Open a named semaphore
sem_close
- Close a named semaphore
sem_unlink
- Remove a named semaphore
sem_wait
- Lock a semaphore
sem_trywait
- Lock a semaphore
sem_timedwait
- Wait on a Semaphore for a Specified Time
sem_post
- Unlock a semaphore
sem_getvalue
- Get the value of a semeaphore
Copyright © 1988-2007OAR Corporation