9#elif defined(__MACH__) && defined(__APPLE__)
10#include <mach/semaphore.h>
25 void post(
unsigned int num = 1);
27 bool wait(
unsigned int time_ms);
32#elif defined(__MACH__) && defined(__APPLE__)
Definition semaphore.h:18
void post(unsigned int num=1)
Definition semaphore.cpp:70
~Semaphore()
Definition semaphore.cpp:53
DISABLE_CLASS_COPY(Semaphore)
void wait()
Definition semaphore.cpp:85
Semaphore(int val=0)
Definition semaphore.cpp:41
sem_t semaphore
Definition semaphore.h:35