Home
last modified time | relevance | path

Searched refs:mut (Results 1 – 17 of 17) sorted by relevance

/l4re-core-master/uclibc/lib/contrib/uclibc/test/nptl/
A Dtst-cond8.c36 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 Dtst-cond20.c29 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 Dtst-cond15.c29 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 Dtst-cond11.c33 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 Dtst-cond9.c28 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 Dtst-cond3.c32 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 Dtst-cond1.c26 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 Dtst-cond2.c25 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 Dtst-cond5.c28 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 Dtst-cond10.c30 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 Dtst-cond14.c27 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 Dtst-once3.c30 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 Dtst-once4.c29 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 Dtst-cond19.c27 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 Dpthread_cond_destroy.c63 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 Dpthread_cond_broadcast.c58 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 Dlinuxthreads.texi443 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 …]

Completed in 13 milliseconds