Home
last modified time | relevance | path

Searched refs:m_Semaphore (Results 1 – 2 of 2) sorted by relevance

/CTR-SDK-0.14.4/include/nn/os/
Dos_LightSemaphore.h239 LightSemaphore* m_Semaphore;
242 …: m_Semaphore(wait ? (semaphore.Acquire(), &semaphore) : (semaphore.TryAcquire() ? &semaphore : 0)…
243 bool Aquired() const { return m_Semaphore != 0; } in Aquired()
244 void Detach() { this->m_Semaphore = 0; } in Detach()
245 ~ScopedAcquire() { if (m_Semaphore) { m_Semaphore->Release(); } } in ~ScopedAcquire()
/CTR-SDK-0.14.4/include/nn/fnd/
Dfnd_WaitableUnitHeap.h34 Semaphore m_Semaphore; variable
57 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()