S | |
sem_close [Sem] |
Closes the semaphore.
|
sem_destroy [Sem] | destroy sem destroys the unnamed semaphore pointed to by
sem .
|
sem_getvalue [Sem] | sem_getvalue sem returns a value of sem .
|
sem_init [Sem] | sem_init semop pshared ival initializes the unnamed semaphore.
|
sem_open [Sem] | sem_open name oflags mode ival creates or opens the named semaphore specified by
name .
|
sem_post [Sem] | sem_post sem increments (unlocks) the semaphore pointed to by
sem .
|
sem_trywait [Sem] | sem_trywait sem decrements (locks) the semaphore pointed to by
sem only if the value is non-zero.
|
sem_unlink [Sem] |
Erases the named semaphore.
|
sem_wait [Sem] | sem_wait sem decrements (locks) the semaphore pointed to by
sem , but blocks if the value of sem is zero, until the value is non-zero
and the value can be decremented.
|