libcruft-util/thread/semaphore.hpp

10 lines
207 B
C++
Raw Normal View History

#include "platform.hpp"
#if defined(PLATFORM_LINUX)
#include "semaphore_linux.hpp"
#elif defined(PLATFORM_WIN32)
#include "semaphore_win32.hpp"
#else
#error "Unsupported threading platform"
#endif