This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Compounds | |
| struct | sem_s |
| contains all data about a semaphore. More... | |
Defines | |
| #define | sem_signal(x) sem_post(x) |
| alias to sem_post(), for thomas. More... | |
| #define | sem_trywait(x) (x.c<0) |
| checks, if a sem_wait() operation might block. More... | |
| #define | sem_getvalue(x, i) (*i=x.c) |
| returns the semaphore counter. More... | |
Typedefs | |
| typedef sem_s | sem_t |
| contains all data about a semaphore. More... | |
Functions | |
| void | sem_post (sem_t x) |
| post operation on a semaphore. More... | |
| void | sem_wait (sem_t x) |
| wait operation on a semaphore. More... | |
| int | sem_init (sem_t x, int i, int v) |
| prepares a semaphore. More... | |
| int | sem_destroy (sem_t x) |
| destroys a semaphore and releases all threads waiting on it. More... | |
Definition in file seminl.h.
|
|
returns the semaphore counter.
|
|
|
alias to sem_post(), for thomas.
|
|
|
checks, if a sem_wait() operation might block.
|
1.2.14 written by Dimitri van Heesch,
© 1997-2002