Searched refs:mut2 (Results 1 – 5 of 5) sorted by relevance
41 pthread_mutex_t *mut2; in do_test() local78 mut2 = mut1 + 1; in do_test()80 cond = (pthread_cond_t *) (((uintptr_t) (mut2 + 1) in do_test()129 if (pthread_mutex_init (mut2, &ma) != 0) in do_test()192 if (pthread_mutex_lock (mut2) != 0) in do_test()205 if (pthread_cond_wait (cond, mut2) != 0) in do_test()212 if (pthread_mutex_unlock (mut2) != 0) in do_test()230 if (pthread_mutex_lock (mut2) != 0) in do_test()244 if (pthread_mutex_unlock (mut2) != 0) in do_test()
43 pthread_mutex_t *mut2; in do_test() local79 mut2 = mut1 + 1; in do_test()81 cond = (pthread_cond_t *) (((uintptr_t) (mut2 + 1) in do_test()106 if (pthread_mutex_init (mut2, &ma) != 0) in do_test()148 if (pthread_mutex_lock (mut2) != 0) in do_test()175 if (pthread_cond_timedwait (cond, mut2, &ts) != 0) in do_test()182 if (pthread_mutex_unlock (mut2) != 0) in do_test()200 if (pthread_mutex_lock (mut2) != 0) in do_test()214 if (pthread_mutex_unlock (mut2) != 0) in do_test()
27 static pthread_mutex_t mut2 = PTHREAD_MUTEX_INITIALIZER; variable48 if (pthread_mutex_unlock (&mut2) != 0) in tf()69 if (pthread_mutex_lock (&mut2) != 0) in do_test()86 if (pthread_mutex_lock (&mut2) != 0) in do_test()
29 static pthread_mutex_t mut2 = PTHREAD_MUTEX_INITIALIZER; variable50 if (pthread_mutex_unlock (&mut2) != 0) in tf()94 if (pthread_mutex_lock (&mut2) != 0) in do_test()111 if (pthread_mutex_lock (&mut2) != 0) in do_test()
13 static pthread_mutex_t mut2 = PTHREAD_MUTEX_INITIALIZER; variable29 pthread_mutex_lock (&mut2); in cons()32 pthread_mutex_unlock (&mut2); in cons()78 pthread_mutex_lock (&mut2); in main()80 pthread_cond_wait (&cond2, &mut2); in main()81 pthread_mutex_unlock (&mut2); in main()