Searched refs:m_count (Results 1 – 2 of 2) sorted by relevance
39 CSemaphore::CSemaphore(int size) : m_waiters_count(0), m_count(size) in CSemaphore()59 while ( m_count == 0 ) in wait()62 m_count --; in wait()78 if ( m_count == 0 ) { in wait()85 m_count --; in wait()96 if ( m_count == 0 ) in wouldWait()109 m_count ++; in signal()
65 int m_count; variable