|
Tizen RT Libs&Environment
v1.0 D5
|
Semaphore APIs. More...
#include <tinyara/config.h>#include <stdint.h>#include <limits.h>

Go to the source code of this file.
Data Structures | |
| struct | semholder_s |
| Structure of semholder. More... | |
| struct | sem_s |
| Structure of generic semaphore. More... | |
Macros | |
| #define | EXTERN extern |
| #define | SEMHOLDER_INITIALIZER {NULL, NULL, 0} |
| #define | SEM_INITIALIZER(c) {(c), NULL} /* semcount, hhead */ |
| Sem initializer. More... | |
Typedefs | |
| typedef struct sem_s | sem_t |
Functions | |
| int | sem_init (FAR sem_t *sem, int pshared, unsigned int value) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More... | |
| int | sem_destroy (FAR sem_t *sem) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More... | |
| int | sem_wait (FAR sem_t *sem) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More... | |
| int | sem_timedwait (FAR sem_t *sem, FAR const struct timespec *abstime) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More... | |
| int | sem_trywait (FAR sem_t *sem) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More... | |
| int | sem_post (FAR sem_t *sem) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More... | |
| int | sem_getvalue (FAR sem_t *sem, FAR int *sval) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More... | |
Semaphore APIs.
Definition in file semaphore.h.
| #define EXTERN extern |
Definition at line 77 of file semaphore.h.
| #define SEMHOLDER_INITIALIZER {NULL, NULL, 0} |
Definition at line 105 of file semaphore.h.
Definition at line 131 of file semaphore.h.