#include <errno.h>
Go to the source code of this file.
Defines | |
#define | SEMAPHORE_H |
#define | PTW32_LEVEL_MAX 3 |
#define | PTW32_LEVEL PTW32_LEVEL_MAX |
#define | PTW32_DLLPORT __declspec (dllimport) |
#define | _POSIX_SEMAPHORES |
Typedefs | |
typedef unsigned int | mode_t |
typedef sem_t_ * | sem_t |
Functions | |
PTW32_DLLPORT int | sem_init (sem_t *sem, int pshared, unsigned int value) |
PTW32_DLLPORT int | sem_destroy (sem_t *sem) |
PTW32_DLLPORT int | sem_trywait (sem_t *sem) |
PTW32_DLLPORT int | sem_wait (sem_t *sem) |
PTW32_DLLPORT int | sem_timedwait (sem_t *sem, const struct timespec *abstime) |
PTW32_DLLPORT int | sem_post (sem_t *sem) |
PTW32_DLLPORT int | sem_post_multiple (sem_t *sem, int count) |
PTW32_DLLPORT int | sem_open (const char *name, int oflag, mode_t mode, unsigned int value) |
PTW32_DLLPORT int | sem_close (sem_t *sem) |
PTW32_DLLPORT int | sem_unlink (const char *name) |
PTW32_DLLPORT int | sem_getvalue (sem_t *sem, int *sval) |
|
Definition at line 112 of file semaphore.h. |
|
Definition at line 81 of file semaphore.h. |
|
Definition at line 64 of file semaphore.h. |
|
Definition at line 61 of file semaphore.h. |
|
Definition at line 40 of file semaphore.h. |
|
Definition at line 120 of file semaphore.h. |
|
Definition at line 124 of file semaphore.h. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|