Home
last modified time | relevance | path

Searched refs:Semaphore (Results 1 – 4 of 4) sorted by relevance

/CTR-SDK-0.13.2/sources/libraries/os/
Dos_Semaphore.cpp37 …_DEFINE_CONVERSION(nnosSemaphoreToWaitObject, nnosSemaphore, nnosWaitObject, Semaphore, WaitObject) in NN_UTIL_DETAIL_CLIBIMPL_DEFINE_CONVERSION() argument
38 …_DEFINE_CONVERSION(nnosWaitObjectToSemaphore, nnosWaitObject, nnosSemaphore, WaitObject, Semaphore) in NN_UTIL_DETAIL_CLIBIMPL_DEFINE_CONVERSION()
43 new (p) Semaphore(initialCount, maxCount); in NN_UTIL_DETAIL_CLIBIMPL_DEFINE_CONVERSION()
48 new (p) Semaphore(); in nnosSemaphoreTryInitialize()
49 Semaphore* pSemaphore = reinterpret_cast<Semaphore*>(p); in nnosSemaphoreTryInitialize()
56 Semaphore* pSemaphore = reinterpret_cast<Semaphore*>(p); in nnosSemaphoreRelease()
62 Semaphore* pSemaphore = reinterpret_cast<Semaphore*>(p); in nnosSemaphoreAcquire()
68 Semaphore* pSemaphore = reinterpret_cast<Semaphore*>(p); in nnosSemaphoreTryAcquire()
74 Semaphore* pSemaphore = reinterpret_cast<Semaphore*>(p); in nnosSemaphoreFinalize()
75 pSemaphore->~Semaphore(); in nnosSemaphoreFinalize()
Dos_HandleManager.cpp49 Semaphore* pSemaphore = reinterpret_cast<Semaphore*>(p); in nnosHandleManagerAttachSemaphoreHandle()
55 Semaphore* pSemaphore = reinterpret_cast<Semaphore*>(p); in nnosHandleManagerDetachSemaphoreHandle()
/CTR-SDK-0.13.2/include/nn/os/
Dos_Semaphore.h53 class Semaphore : public InterruptEvent
66 Semaphore(s32 initialCount, s32 maxCount);
72 Semaphore() {} in Semaphore() function
106 ~Semaphore() {} in ~Semaphore()
145 inline Result Semaphore::TryInitializeImpl(s32 initialCount, s32 maxCount) in TryInitializeImpl()
153 inline void Semaphore::Initialize(s32 initialCount, s32 maxCount) in Initialize()
158 inline nn::Result Semaphore::TryInitialize(s32 initialCount, s32 maxCount) in TryInitialize()
169 inline Semaphore::Semaphore(s32 initialCount, s32 maxCount) in Semaphore() function
174 inline s32 Semaphore::Release(s32 releaseCount) in Release()
181 NN_UTIL_DETAIL_DEFINE_SCOPED_LOCK(Semaphore, Acquire(), Release());
[all …]
/CTR-SDK-0.13.2/include/nn/fnd/
Dfnd_WaitableUnitHeap.h28 template <class LockPolicy = nn::os::LockPolicy::Object<nn::os::CriticalSection>, class Semaphore =…
34 Semaphore m_Semaphore;
160 template <class LockPolicy, class Semaphore>
161 class WaitableUnitHeap<LockPolicy, Semaphore>::Allocator : public IAllocator
183 template <class LockPolicy, class Semaphore>
184 inline void* WaitableUnitHeap<LockPolicy, Semaphore>::Allocator::Allocate(size_t size, s32 alignmen… in Allocate()