Home
last modified time | relevance | path

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

/CTR-SDK-1.0.0/CTR_SDK/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-1.0.0/CTR_SDK/include/nn/os/
Dos_Semaphore.h57 class Semaphore : public InterruptEvent
70 Semaphore(s32 initialCount, s32 maxCount);
76 Semaphore() {} in Semaphore() function
110 ~Semaphore() {} in ~Semaphore()
149 inline Result Semaphore::TryInitializeImpl(s32 initialCount, s32 maxCount) in TryInitializeImpl()
157 inline void Semaphore::Initialize(s32 initialCount, s32 maxCount) in Initialize()
162 inline nn::Result Semaphore::TryInitialize(s32 initialCount, s32 maxCount) in TryInitialize()
173 inline Semaphore::Semaphore(s32 initialCount, s32 maxCount) in Semaphore() function
178 inline s32 Semaphore::Release(s32 releaseCount) in Release()
185 NN_UTIL_DETAIL_DEFINE_SCOPED_LOCK(Semaphore, Acquire(), Release());
[all …]
/CTR-SDK-1.0.0/CTR_SDK/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()