#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 __cdecl | sem_init (sem_t *sem, int pshared, unsigned int value) |
PTW32_DLLPORT int __cdecl | sem_destroy (sem_t *sem) |
PTW32_DLLPORT int __cdecl | sem_trywait (sem_t *sem) |
PTW32_DLLPORT int __cdecl | sem_wait (sem_t *sem) |
PTW32_DLLPORT int __cdecl | sem_timedwait (sem_t *sem, const struct timespec *abstime) |
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_open (const char *name, int oflag, mode_t mode, unsigned int value) |
PTW32_DLLPORT int __cdecl | sem_close (sem_t *sem) |
PTW32_DLLPORT int __cdecl | sem_unlink (const char *name) |
PTW32_DLLPORT int __cdecl | sem_getvalue (sem_t *sem, int *sval) |
#define _POSIX_SEMAPHORES |
Definition at line 115 of file semaphore.h.
#define PTW32_DLLPORT __declspec (dllimport) |
Definition at line 82 of file semaphore.h.
#define PTW32_LEVEL PTW32_LEVEL_MAX |
Definition at line 64 of file semaphore.h.
#define PTW32_LEVEL_MAX 3 |
Definition at line 61 of file semaphore.h.
#define SEMAPHORE_H |
Definition at line 40 of file semaphore.h.
typedef unsigned int mode_t |
Definition at line 123 of file semaphore.h.
typedef struct sem_t_* sem_t |
Definition at line 127 of file semaphore.h.
PTW32_DLLPORT int __cdecl sem_close | ( | sem_t * | sem | ) |
PTW32_DLLPORT int __cdecl sem_destroy | ( | sem_t * | sem | ) |
Referenced by XrdSysSemaphore::~XrdSysSemaphore().
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 | |||
) |
Referenced by XrdSysSemaphore::XrdSysSemaphore().
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 | ) |
Referenced by XrdSysSemaphore::Post().
PTW32_DLLPORT int __cdecl sem_post_multiple | ( | sem_t * | sem, | |
int | count | |||
) |
PTW32_DLLPORT int __cdecl sem_trywait | ( | sem_t * | sem | ) |
Referenced by XrdSysSemaphore::CondWait().
PTW32_DLLPORT int __cdecl sem_unlink | ( | const char * | name | ) |
PTW32_DLLPORT int __cdecl sem_wait | ( | sem_t * | sem | ) |
Referenced by XrdSysSemaphore::Wait().