Home
last modified time | relevance | path

Searched refs:initCount (Results 1 – 3 of 3) sorted by relevance

/third_party/lzma/C/
DThreads.c146 WRes Semaphore_Create(CSemaphore *p, UInt32 initCount, UInt32 maxCount) in Semaphore_Create() argument
149 *p = CreateSemaphore(NULL, (LONG)initCount, (LONG)maxCount, NULL); in Semaphore_Create()
153 WRes Semaphore_OptCreateInit(CSemaphore *p, UInt32 initCount, UInt32 maxCount) in Semaphore_OptCreateInit() argument
161 return Semaphore_Create(p, initCount, maxCount); in Semaphore_OptCreateInit()
418 WRes Semaphore_Create(CSemaphore *p, UInt32 initCount, UInt32 maxCount) in Semaphore_Create() argument
420 if (initCount > maxCount || maxCount < 1) in Semaphore_Create()
424 p->_count = initCount; in Semaphore_Create()
431 WRes Semaphore_OptCreateInit(CSemaphore *p, UInt32 initCount, UInt32 maxCount) in Semaphore_OptCreateInit() argument
440 if (initCount > maxCount || maxCount < 1) in Semaphore_OptCreateInit()
443 p->_count = initCount; in Semaphore_OptCreateInit()
[all …]
DThreads.h162 WRes Semaphore_Create(CSemaphore *p, UInt32 initCount, UInt32 maxCount);
163 WRes Semaphore_OptCreateInit(CSemaphore *p, UInt32 initCount, UInt32 maxCount);
214 WRes Semaphore_Create(CSemaphore *p, UInt32 initCount, UInt32 maxCount);
215 WRes Semaphore_OptCreateInit(CSemaphore *p, UInt32 initCount, UInt32 maxCount);
/third_party/lzma/CPP/Windows/
DSynchronization.h152 WRes Create(UInt32 initCount, UInt32 maxCount) in Create() argument
154 return Semaphore_Create(&_object, initCount, maxCount); in Create()
156 WRes OptCreateInit(UInt32 initCount, UInt32 maxCount) in OptCreateInit() argument
158 return Semaphore_OptCreateInit(&_object, initCount, maxCount); in OptCreateInit()
347 WRes Create(CSynchro *sync, UInt32 initCount, UInt32 maxCount) in Create() argument
349 if (initCount > maxCount || maxCount < 1) in Create()
352 this->_count = initCount; in Create()