Searched refs:CSemaphore (Results 1 – 5 of 5) sorted by relevance
51 typedef HANDLE CSemaphore; typedef56 WRes Semaphore_Create(CSemaphore *p, UInt32 initCount, UInt32 maxCount);57 WRes Semaphore_ReleaseN(CSemaphore *p, UInt32 num);58 WRes Semaphore_Release1(CSemaphore *p);
69 WRes Semaphore_Create(CSemaphore *p, UInt32 initCount, UInt32 maxCount) in Semaphore_Create()75 static WRes Semaphore_Release(CSemaphore *p, LONG releaseCount, LONG *previousCount) in Semaphore_Release()77 WRes Semaphore_ReleaseN(CSemaphore *p, UInt32 num) in Semaphore_ReleaseN()79 WRes Semaphore_Release1(CSemaphore *p) { return Semaphore_ReleaseN(p, 1); } in Semaphore_Release1()
31 CSemaphore freeSemaphore;32 CSemaphore filledSemaphore;
98 CSemaphore blocksSemaphore;
126 class CSemaphore128 ::CSemaphore _object;130 CSemaphore() { Semaphore_Construct(&_object); } in CSemaphore() function131 ~CSemaphore() { Close(); } in ~CSemaphore()