17#if defined(CONF_FAMILY_WINDOWS)
22#elif defined(CONF_PLATFORM_MACOS)
28#elif defined(CONF_FAMILY_UNIX)
35#error not implemented on this platform
~CSemaphore()
Definition sphore.h:70
std::atomic_int m_Count
Definition sphore.h:66
int GetApproximateValue()
Definition sphore.h:72
CSemaphore()
Definition sphore.h:69
void Wait()
Definition sphore.h:73
SEMAPHORE m_Sem
Definition sphore.h:63
CSemaphore(const CSemaphore &)=delete
void Signal()
Definition sphore.h:78
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
sem_t SEMAPHORE
Definition sphore.h:33
void sphore_wait(SEMAPHORE *sem)
Definition sphore.cpp:75