Searched refs:waitLock (Results 1 – 3 of 3) sorted by relevance
95 static pthread_mutex_t waitLock = PTHREAD_MUTEX_INITIALIZER; variable130 assert(pthread_mutex_lock(&waitLock) == 0); in mythread()131 assert(pthread_mutex_unlock(&waitLock) == 0); in mythread()171 assert(pthread_mutex_lock(&waitLock) == 0); in main()185 assert(pthread_mutex_unlock(&waitLock) == 0); in main()
541 * cancel3.c: Remove unused waitLock variable.562 * cleanup1.c: Remove unused "waitLock".
435 bool Scheduler::Worker::wait(lock& waitLock, in wait() argument448 waitLock.unlock_no_tsa(); in wait()457 waitLock.lock_no_tsa(); in wait()