Searched refs:m_Semaphore (Results 1 – 3 of 3) sorted by relevance
264 LightSemaphore* m_Semaphore;267 …: m_Semaphore(wait ? (semaphore.Acquire(), &semaphore) : (semaphore.TryAcquire() ? &semaphore : 0)…268 bool Aquired() const { return m_Semaphore != 0; } in Aquired()269 void Detach() { this->m_Semaphore = 0; } in Detach()270 ~ScopedAcquire() { if (m_Semaphore) { m_Semaphore->Release(); } } in ~ScopedAcquire()
267 InterCoreLightSemaphore* m_Semaphore;270 …: m_Semaphore(wait ? (semaphore.Acquire(), &semaphore) : (semaphore.TryAcquire() ? &semaphore : 0)…271 bool Aquired() const { return m_Semaphore != 0; } in Aquired()272 void Detach() { this->m_Semaphore = 0; } in Detach()273 ~ScopedAcquire() { if (m_Semaphore) { m_Semaphore->Release(); } } in ~ScopedAcquire()
34 Semaphore m_Semaphore; variable57 this->m_Semaphore.Initialize(maxCount, maxCount);67 m_Semaphore.Finalize(); in Finalize()78 if (m_Semaphore.TryAcquire()) in TryAllocate()98 m_Semaphore.Acquire(); in Allocate()112 m_Semaphore.Release(); in Free()