Sign this semaphore with specific value.
- Parameters
-
Definition at line 34 of file Semaphore.h.
35 {
36 std::unique_lock<std::mutex> lock(
m_Mutex);
37
40 }
std::mutex m_Mutex
Mutex of this semaphore.
std::atomic_int m_Sign
Sign of this semaphore.
std::condition_variable m_Cond
condition variable of this semaphore.
References m_Cond.
Referenced by SpicesTest::TEST(), and SpicesTest::TEST().