semaphore.h File Reference
#include <errno.h>
Go to the source code of this file.
Define Documentation
#define _POSIX_SEMAPHORES |
#define PTW32_DLLPORT __declspec (dllimport) |
#define PTW32_LEVEL PTW32_LEVEL_MAX |
#define PTW32_LEVEL_MAX 3 |
Typedef Documentation
typedef struct sem_t_* sem_t |
Function Documentation
PTW32_DLLPORT int __cdecl sem_close |
( |
sem_t * |
sem |
) |
|
PTW32_DLLPORT int __cdecl sem_destroy |
( |
sem_t * |
sem |
) |
|
PTW32_DLLPORT int __cdecl sem_getvalue |
( |
sem_t * |
sem, |
|
|
int * |
sval | |
|
) |
| | |
PTW32_DLLPORT int __cdecl sem_init |
( |
sem_t * |
sem, |
|
|
int |
pshared, |
|
|
unsigned int |
value | |
|
) |
| | |
PTW32_DLLPORT int __cdecl sem_open |
( |
const char * |
name, |
|
|
int |
oflag, |
|
|
mode_t |
mode, |
|
|
unsigned int |
value | |
|
) |
| | |
PTW32_DLLPORT int __cdecl sem_post |
( |
sem_t * |
sem |
) |
|
PTW32_DLLPORT int __cdecl sem_post_multiple |
( |
sem_t * |
sem, |
|
|
int |
count | |
|
) |
| | |
PTW32_DLLPORT int __cdecl sem_timedwait |
( |
sem_t * |
sem, |
|
|
const struct timespec * |
abstime | |
|
) |
| | |
PTW32_DLLPORT int __cdecl sem_trywait |
( |
sem_t * |
sem |
) |
|
PTW32_DLLPORT int __cdecl sem_unlink |
( |
const char * |
name |
) |
|
PTW32_DLLPORT int __cdecl sem_wait |
( |
sem_t * |
sem |
) |
|