10#include <condition_variable>
18using std::condition_variable;
30 void Release(
uint inNumber = 1);
33 void Acquire(
uint inNumber = 1);
39#ifdef JPH_PLATFORM_WINDOWS
46 condition_variable mWaitVariable;
#define JPH_EXPORT
Definition: Core.h:227
#define JPH_CACHE_LINE_SIZE
Definition: Core.h:466
#define JPH_SUPPRESS_WARNINGS_STD_BEGIN
Definition: Core.h:372
#define JPH_SUPPRESS_WARNINGS_STD_END
Definition: Core.h:384
unsigned int uint
Definition: Core.h:439
#define JPH_NAMESPACE_END
Definition: Core.h:367
#define JPH_NAMESPACE_BEGIN
Definition: Core.h:361
Definition: Semaphore.h:23
int GetValue() const
Get the current value of the semaphore.
Definition: Semaphore.h:36