27
29
QueuedTasksCnt=CreateSemaphore(NULL,0,ASIZE(TaskQueue),NULL);
28
30
NoneActive=CreateEvent(NULL,TRUE,TRUE,NULL);
36
36
pthread_mutex_init(&AnyActiveMutex,NULL)==0 &&
37
37
pthread_cond_init(&QueuedTasksCntCond,NULL)==0 &&
38
38
pthread_mutex_init(&QueuedTasksCntMutex,NULL)==0;