SpiecsEngine
 
Loading...
Searching...
No Matches

◆ Increase()

void Spices::semaphore::Increase ( )
inline

Increase this semaphore sign.

Definition at line 45 of file Semaphore.h.

46 {
47 std::unique_lock<std::mutex> lock(m_Mutex);
48
49 ++m_Sign;
50 m_Cond.notify_one();
51 }
std::mutex m_Mutex
Mutex of this semaphore.
Definition Semaphore.h:82
std::atomic_int m_Sign
Sign of this semaphore.
Definition Semaphore.h:77
std::condition_variable m_Cond
condition variable of this semaphore.
Definition Semaphore.h:87

References m_Cond.

Referenced by SpicesTest::TEST().