semaphore.h
Overview
Related Modules:
Description:
Provides functions and structures related to semaphore operations.
For example, you can use the functions to create, open, close, and delete semaphores, and perform P and V operations on semaphores.
Since:
1.0
Version:
1.0
Summary
Data Structures
Macros
SEM_FAILED ((sem_t *)0) |
Functions
sem_destroy (sem_t sem) |
Destroys a specified anonymous semaphore that is no longer used. |
sem_getvalue (sem_t __restrict sem, int restrict sval) |
|
sem_timedwait (sem_t *restrict sem, const struct timespec __restrict timeout) |
|
sem_trywait (sem_t sem) |
|
sem_unlink (const char name) |
|