17#if defined(CONF_FAMILY_WINDOWS)
19#elif defined(CONF_PLATFORM_MACOS)
22#elif defined(CONF_FAMILY_UNIX)
26#error not implemented on this platform
~CSemaphore()
Definition sphore.h:58
std::atomic_int m_Count
Definition sphore.h:54
int GetApproximateValue()
Definition sphore.h:60
CSemaphore()
Definition sphore.h:57
void Wait()
Definition sphore.h:61
SEMAPHORE m_Sem
Definition sphore.h:51
CSemaphore(const CSemaphore &)=delete
void Signal()
Definition sphore.h:66
void sphore_signal(SEMAPHORE *sem)
Definition sphore.cpp:84
void sphore_destroy(SEMAPHORE *sem)
Definition sphore.cpp:88
void sphore_init(SEMAPHORE *sem)
Definition sphore.cpp:71
void sphore_wait(SEMAPHORE *sem)
Definition sphore.cpp:75
sem_t SEMAPHORE
Definition sphore.h:24