Lines Matching refs:mut
27 static pthread_mutex_t mut = PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP; variable
35 int e = pthread_mutex_lock (&mut); in ch()
48 if (pthread_mutex_unlock (&mut) != 0) in ch()
70 err = pthread_mutex_lock (&mut); in tf1()
88 pthread_cond_wait (&cond, &mut); in tf1()
110 err = pthread_mutex_lock (&mut); in tf2()
136 pthread_cond_timedwait (&cond, &mut, &ts); in tf2()
152 printf ("&cond = %p\n&mut = %p\n", &cond, &mut); in do_test()
181 err = pthread_mutex_lock (&mut); in do_test()
188 err = pthread_mutex_unlock (&mut); in do_test()
235 err = pthread_mutex_lock (&mut); in do_test()
242 err = pthread_mutex_unlock (&mut); in do_test()