/l4re-core-master/uclibc/lib/contrib/uclibc/test/nptl/ |
A D | tst-cond8.c | 36 int e = pthread_mutex_lock (&mut); in ch() 49 if (pthread_mutex_unlock (&mut) != 0) in ch() 71 err = pthread_mutex_lock (&mut); in tf1() 89 pthread_cond_wait (&cond, &mut); in tf1() 111 err = pthread_mutex_lock (&mut); in tf2() 137 pthread_cond_timedwait (&cond, &mut, &ts); in tf2() 153 printf ("&cond = %p\n&mut = %p\n", &cond, &mut); in do_test() 182 err = pthread_mutex_lock (&mut); in do_test() 189 err = pthread_mutex_unlock (&mut); in do_test() 236 err = pthread_mutex_lock (&mut); in do_test() [all …]
|
A D | tst-cond20.c | 29 static pthread_mutex_t mut = PTHREAD_MUTEX_INITIALIZER; variable 39 pthread_mutex_lock (&mut); in tf() 51 pthread_cond_timedwait (&cond, &mut, &ts); in tf() 53 pthread_cond_wait (&cond, &mut); in tf() 56 pthread_mutex_unlock (&mut); in tf() 86 pthread_mutex_lock (&mut); in do_test() 99 pthread_cond_wait (&cond2, &mut); in do_test() 102 pthread_mutex_unlock (&mut); in do_test() 117 pthread_mutex_unlock (&mut); in do_test() 137 pthread_mutex_lock (&mut); in do_test()
|
A D | tst-cond15.c | 29 static pthread_mutex_t mut = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP; variable 35 if (pthread_mutex_lock (&mut) != 0) in tf() 40 if (pthread_mutex_lock (&mut) != 0) in tf() 45 if (pthread_mutex_lock (&mut) != 0) in tf() 63 int err = pthread_cond_timedwait (&cond, &mut, &ts); in tf() 70 if (pthread_mutex_unlock (&mut) != 0) in tf() 75 if (pthread_mutex_unlock (&mut) != 0) in tf() 80 if (pthread_mutex_unlock (&mut) != 0) in tf()
|
A D | tst-cond11.c | 33 pthread_mutex_t mut; in run_test() local 86 if (pthread_mutex_init (&mut, &mutattr) != 0) in run_test() 98 if (pthread_mutex_lock (&mut) != 0) in run_test() 104 if (pthread_mutex_lock (&mut) != EDEADLK) in run_test() 120 int e = pthread_cond_timedwait (&cond, &mut, &ts); in run_test() 132 if (pthread_mutex_unlock (&mut) != 0) in run_test() 138 if (pthread_mutex_destroy (&mut) != 0) in run_test()
|
A D | tst-cond9.c | 28 static pthread_mutex_t mut = PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP; variable 34 int err = pthread_cond_wait (&cond, &mut); in tf() 56 err = pthread_cond_timedwait (&cond, &mut, &ts); in tf() 79 printf ("&cond = %p\n&mut = %p\n", &cond, &mut); in do_test() 81 err = pthread_cond_wait (&cond, &mut); in do_test() 103 err = pthread_cond_timedwait (&cond, &mut, &ts); in do_test() 116 if (pthread_mutex_lock (&mut) != 0) in do_test()
|
A D | tst-cond3.c | 32 static pthread_mutex_t mut = PTHREAD_MUTEX_INITIALIZER; variable 45 err = pthread_mutex_lock (&mut); in tf() 53 pthread_cond_wait (&cond, &mut); in tf() 75 err = pthread_mutex_unlock (&mut); in do_test() 91 err = pthread_mutex_lock (&mut); in do_test() 103 pthread_cond_wait (&cond, &mut); in do_test()
|
A D | tst-cond1.c | 26 static pthread_mutex_t mut = PTHREAD_MUTEX_INITIALIZER; variable 34 err = pthread_mutex_lock (&mut); in tf() 44 err = pthread_mutex_unlock (&mut); in tf() 60 printf ("&cond = %p\n&mut = %p\n", &cond, &mut); in do_test() 64 err = pthread_mutex_lock (&mut); in do_test() 76 err = pthread_cond_wait (&cond, &mut); in do_test()
|
A D | tst-cond2.c | 25 static pthread_mutex_t mut = PTHREAD_MUTEX_INITIALIZER; variable 39 err = pthread_mutex_lock (&mut); in tf() 54 err = pthread_cond_wait (&cond, &mut); in tf() 60 err = pthread_mutex_unlock (&mut); in tf() 80 printf ("&cond = %p\n&mut = %p\n", &cond, &mut); in do_test() 130 err = pthread_mutex_lock (&mut); in do_test() 141 err = pthread_mutex_unlock (&mut); in do_test()
|
A D | tst-cond5.c | 28 static pthread_mutex_t mut; variable 52 if (pthread_mutex_init (&mut, &ma) != 0) in do_test() 59 if (pthread_mutex_lock (&mut) != 0) in do_test() 79 err = pthread_cond_timedwait (&cond, &mut, &ts); in do_test() 93 err = pthread_mutex_unlock (&mut); in do_test()
|
A D | tst-cond10.c | 30 static pthread_mutex_t mut = PTHREAD_MUTEX_INITIALIZER; variable 38 if (pthread_mutex_lock (&mut) != 0) in tf() 51 if (pthread_cond_wait (&cond, &mut) != 0) in tf() 57 if (pthread_mutex_unlock (&mut) != 0) in tf() 126 if (pthread_mutex_lock (&mut) != 0) in do_test() 131 if (pthread_mutex_unlock (&mut) != 0) in do_test()
|
A D | tst-cond14.c | 27 static pthread_mutex_t mut = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP; variable 33 if (pthread_mutex_lock (&mut) != 0) in tf() 38 if (pthread_mutex_lock (&mut) != 0) in tf() 43 if (pthread_mutex_lock (&mut) != 0) in tf() 55 if (pthread_cond_wait (&cond, &mut) != 0) in tf()
|
A D | tst-once3.c | 30 static pthread_mutex_t mut = PTHREAD_MUTEX_INITIALIZER; variable 40 if (pthread_mutex_lock (&mut) != 0) in once_handler1() 54 pthread_cond_wait (&cond, &mut); in once_handler1() 113 if (pthread_mutex_lock (&mut) != 0) in do_test() 120 if (pthread_mutex_unlock (&mut) != 0) in do_test()
|
A D | tst-once4.c | 29 static pthread_mutex_t mut = PTHREAD_MUTEX_INITIALIZER; variable 39 if (pthread_mutex_lock (&mut) != 0) in once_handler1() 52 pthread_cond_wait (&cond, &mut); in once_handler1() 131 if (pthread_mutex_lock (&mut) != 0) in do_test() 138 if (pthread_mutex_unlock (&mut) != 0) in do_test()
|
A D | tst-cond19.c | 27 static pthread_mutex_t mut = PTHREAD_MUTEX_INITIALIZER; variable 44 int e = pthread_cond_timedwait (&cond, &mut, &ts); in do_test() 58 e = pthread_cond_timedwait (&cond, &mut, &ts); in do_test()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/nptl/ |
A D | pthread_cond_destroy.c | 63 pthread_mutex_t *mut = (pthread_mutex_t *) cond->__data.__mutex; in __pthread_cond_destroy() local 64 lll_futex_wake (&mut->__data.__lock, INT_MAX, in __pthread_cond_destroy() 65 PTHREAD_MUTEX_PSHARED (mut)); in __pthread_cond_destroy()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/nptl/sysdeps/pthread/ |
A D | pthread_cond_broadcast.c | 58 pthread_mutex_t *mut = (pthread_mutex_t *) cond->__data.__mutex; in __pthread_cond_broadcast() local 63 if (__builtin_expect (mut->__data.__kind in __pthread_cond_broadcast() 71 INT_MAX, &mut->__data.__lock, in __pthread_cond_broadcast()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads.old/ |
A D | linuxthreads.texi | 443 pthread_mutex_lock(&mut); 445 pthread_mutex_unlock(&mut); 470 pthread_mutex_lock(&mut); 482 pthread_mutex_lock(&mut); 718 pthread_mutex_lock(&mut); 720 pthread_mutex_unlock(&mut); 926 pthread_mutex_lock(&mut); 931 pthread_mutex_unlock(&mut); 938 pthread_mutex_lock(&mut); 941 pthread_mutex_unlock(&mut); [all …]
|