Searched refs:CSemaphore (Results 1 – 4 of 4) sorted by relevance
41 typedef HANDLE CSemaphore; typedef45 WRes Semaphore_Create(CSemaphore *p, UInt32 initCount, UInt32 maxCount);46 WRes Semaphore_ReleaseN(CSemaphore *p, UInt32 num);47 WRes Semaphore_Release1(CSemaphore *p);
58 WRes Semaphore_Create(CSemaphore *p, UInt32 initCount, UInt32 maxCount) in Semaphore_Create()64 static WRes Semaphore_Release(CSemaphore *p, LONG releaseCount, LONG *previousCount) in Semaphore_Release()66 WRes Semaphore_ReleaseN(CSemaphore *p, UInt32 num) in Semaphore_ReleaseN()68 WRes Semaphore_Release1(CSemaphore *p) { return Semaphore_ReleaseN(p, 1); } in Semaphore_Release1()
33 CSemaphore freeSemaphore;34 CSemaphore filledSemaphore;
126 class CSemaphore128 ::CSemaphore _object;130 CSemaphore() { Semaphore_Construct(&_object); } in CSemaphore() function131 ~CSemaphore() { Close(); } in ~CSemaphore()