Home
last modified time | relevance | path

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

/external/lzma/C/
DThreads.h41 typedef HANDLE CSemaphore; typedef
45 WRes Semaphore_Create(CSemaphore *p, UInt32 initCount, UInt32 maxCount);
46 WRes Semaphore_ReleaseN(CSemaphore *p, UInt32 num);
47 WRes Semaphore_Release1(CSemaphore *p);
DThreads.c58 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()
DLzFindMt.h33 CSemaphore freeSemaphore;
34 CSemaphore filledSemaphore;
/external/lzma/CPP/Windows/
DSynchronization.h126 class CSemaphore
128 ::CSemaphore _object;
130 CSemaphore() { Semaphore_Construct(&_object); } in CSemaphore() function
131 ~CSemaphore() { Close(); } in ~CSemaphore()