23 #ifndef __ccxx_Semaphore_hxx 24 #define __ccxx_Semaphore_hxx 34 #include <semaphore.h> 121 int getValue()
const;
134 #ifdef CCXX_OS_WINDOWS 143 #endif // __ccxx_Semaphore_hxx
An abstract base class for synchronization primitives.
Definition: Lock.h++:35
unsigned int uint_t
An alias for unsigned int.
Definition: Integers.h++:74
#define COMMONCPP_API
Definition: Common.h++:126
A flexible, reference counted, copy-on-write, thread-safe, nullable string.
Definition: String.h++:50
void unlock()
Equivalent to signal().
Definition: Semaphore.h++:117
void lock()
Equivalent to wait().
Definition: Semaphore.h++:95
File permissions.
Definition: Permissions.h++:38
String getName() const
Get the name of the semaphore.
Definition: Semaphore.h++:124
static const int USER_READ_WRITE
User read and write mask.
Definition: Permissions.h++:62
Definition: AllocationMap.c++:25
A counting semaphore – a synchronization primitive that allows multiple processes to coordinate acce...
Definition: Semaphore.h++:52