Searched refs:execution_mutex (Results 1 – 3 of 3) sorted by relevance
154 threadpool->execution_mutex = CreateMutexW( in pthreadpool_create()206 const DWORD wait_status = WaitForSingleObject(threadpool->execution_mutex, INFINITE); in pthreadpool_parallelize()308 const BOOL release_mutex_status = ReleaseMutex(threadpool->execution_mutex); in pthreadpool_parallelize()347 if (threadpool->execution_mutex != NULL) { in pthreadpool_destroy()348 const BOOL close_status = CloseHandle(threadpool->execution_mutex); in pthreadpool_destroy()
270 pthread_mutex_init(&threadpool->execution_mutex, NULL); in pthreadpool_create()310 pthread_mutex_lock(&threadpool->execution_mutex); in pthreadpool_parallelize()401 pthread_mutex_unlock(&threadpool->execution_mutex); in pthreadpool_parallelize()448 pthread_mutex_destroy(&threadpool->execution_mutex); in pthreadpool_destroy()
652 pthread_mutex_t execution_mutex; member664 HANDLE execution_mutex; member