Searched refs:initCount (Results 1 – 3 of 3) sorted by relevance
58 WRes Semaphore_Create(CSemaphore *p, UInt32 initCount, UInt32 maxCount) in Semaphore_Create() argument60 *p = CreateSemaphore(NULL, (LONG)initCount, (LONG)maxCount, NULL); in Semaphore_Create()
45 WRes Semaphore_Create(CSemaphore *p, UInt32 initCount, UInt32 maxCount);
47 static int initCount = 0; variable316 if (!(initCount++)) { in darwin_init()335 if (!(--initCount)) { in darwin_exit()