#include <sync_w32.h>
Public Member Functions | |
| void | enter () |
| void | leave () |
| bool | open (char const *name, sharedsem_t *shr) |
| bool | create (char const *name, sharedsem_t *shr) |
| void | close () |
| void | erase () |
| void | enter () |
| void | leave () |
| bool | open (char const *name, long *count) |
| bool | create (char const *name, long *count) |
| void | close () |
| void | erase () |
| dbGlobalCriticalSection () | |
Private Attributes | |
| int | semid |
| sharedsem_t * | count |
| pthread_t | owner |
| HANDLE | event |
| dbGlobalCriticalSection | ( | ) | [inline] |
| void enter | ( | ) |
| void leave | ( | ) |
| bool open | ( | char const * | name, | |
| sharedsem_t * | shr | |||
| ) |
| bool create | ( | char const * | name, | |
| sharedsem_t * | shr | |||
| ) |
| void close | ( | ) | [inline] |
| void erase | ( | ) |
| void enter | ( | ) | [inline] |
| void leave | ( | ) | [inline] |
| bool open | ( | char const * | name, | |
| long * | count | |||
| ) | [inline] |
| bool create | ( | char const * | name, | |
| long * | count | |||
| ) | [inline] |
| void close | ( | ) | [inline] |
| void erase | ( | ) | [inline] |
int semid [private] |
sharedsem_t * count [private] |
pthread_t owner [private] |
HANDLE event [private] |