Searched refs:Semaphore (Results 1 – 4 of 4) sorted by relevance
| /CTR-SDK-0.14.23/CTR_SDK-0_14_23-20110107-en/CTR_SDK/sources/libraries/os/ |
| D | os_Semaphore.cpp | 37 …_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()
|
| D | os_HandleManager.cpp | 49 Semaphore* pSemaphore = reinterpret_cast<Semaphore*>(p); in nnosHandleManagerAttachSemaphoreHandle() 55 Semaphore* pSemaphore = reinterpret_cast<Semaphore*>(p); in nnosHandleManagerDetachSemaphoreHandle()
|
| /CTR-SDK-0.14.23/CTR_SDK-0_14_23-20110107-en/CTR_SDK/include/nn/os/ |
| D | os_Semaphore.h | 54 class Semaphore : public InterruptEvent 67 Semaphore(s32 initialCount, s32 maxCount); 73 Semaphore() {} in Semaphore() function 107 ~Semaphore() {} in ~Semaphore() 146 inline Result Semaphore::TryInitializeImpl(s32 initialCount, s32 maxCount) in TryInitializeImpl() 154 inline void Semaphore::Initialize(s32 initialCount, s32 maxCount) in Initialize() 159 inline nn::Result Semaphore::TryInitialize(s32 initialCount, s32 maxCount) in TryInitialize() 170 inline Semaphore::Semaphore(s32 initialCount, s32 maxCount) in Semaphore() function 175 inline s32 Semaphore::Release(s32 releaseCount) in Release() 182 NN_UTIL_DETAIL_DEFINE_SCOPED_LOCK(Semaphore, Acquire(), Release()); [all …]
|
| /CTR-SDK-0.14.23/CTR_SDK-0_14_23-20110107-en/CTR_SDK/include/nn/fnd/ |
| D | fnd_WaitableUnitHeap.h | 28 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()
|