24#elif defined(__MACH__) && defined(__APPLE__)
25#include <mach/semaphore.h>
40 void post(
unsigned int num = 1);
42 bool wait(
unsigned int time_ms);
47#elif defined(__MACH__) && defined(__APPLE__)
Definition: semaphore.h:33
void post(unsigned int num=1)
Definition: semaphore.cpp:85
~Semaphore()
Definition: semaphore.cpp:68
DISABLE_CLASS_COPY(Semaphore)
void wait()
Definition: semaphore.cpp:100
sem_t semaphore
Definition: semaphore.h:50