Home
last modified time | relevance | path

Searched refs:thrd_success (Results 1 – 13 of 13) sorted by relevance

/sysdeps/pthread/
A Dtst-cnd-basic.c36 if (mtx_lock (&mutex) != thrd_success) in signal_parent()
38 if (cnd_signal (&cond) != thrd_success) in signal_parent()
40 if (mtx_unlock (&mutex) != thrd_success) in signal_parent()
43 thrd_exit (thrd_success); in signal_parent()
51 if (cnd_init (&cond) != thrd_success) in do_test()
53 if (mtx_init (&mutex, mtx_plain) != thrd_success) in do_test()
56 if (mtx_lock (&mutex) != thrd_success) in do_test()
60 != thrd_success) in do_test()
63 if (cnd_wait (&cond, &mutex) != thrd_success) in do_test()
68 if (thrd_join (id, NULL) != thrd_success) in do_test()
[all …]
A Dtst-cnd-timedwait.c36 if (mtx_lock (&mutex) != thrd_success) in signal_parent()
38 if (cnd_signal (&cond) != thrd_success) in signal_parent()
40 if (mtx_unlock (&mutex) != thrd_success) in signal_parent()
43 thrd_exit (thrd_success); in signal_parent()
52 if (cnd_init (&cond) != thrd_success) in do_test()
54 if (mtx_init (&mutex, mtx_plain) != thrd_success) in do_test()
56 if (mtx_lock (&mutex) != thrd_success) in do_test()
66 if (thrd_create (&id, signal_parent, NULL) != thrd_success) in do_test()
69 if (cnd_timedwait (&cond, &mutex, &w_time) != thrd_success) in do_test()
72 if (thrd_join (id, NULL) != thrd_success) in do_test()
[all …]
A Dtst-mtx-basic.c34 if (mtx_lock (&mutex) != thrd_success) in child_add()
39 if (mtx_unlock (&mutex) != thrd_success) in child_add()
42 thrd_exit (thrd_success); in child_add()
51 if (thrd_create (&id, child_add, NULL) != thrd_success) in do_test()
54 if (mtx_lock (&mutex) != thrd_success) in do_test()
59 if (mtx_unlock (&mutex) != thrd_success) in do_test()
62 if (thrd_join (id, NULL) != thrd_success) in do_test()
A Dtst-tss-basic.c33 if (tss_create (&key, NULL) != thrd_success) in tss_thrd()
36 if (tss_set (key, TSS_VALUE) != thrd_success) in tss_thrd()
45 thrd_exit (thrd_success); in tss_thrd()
52 if (tss_set (key, TSS_VALUE) == thrd_success) in do_test()
55 if (tss_create (&key, NULL) != thrd_success) in do_test()
59 if (thrd_create (&id, tss_thrd, NULL) != thrd_success) in do_test()
62 if (thrd_join (id, NULL) != thrd_success) in do_test()
A Dtst-mtx-trylock.c38 case thrd_success: in choose_action()
41 if (mtx_unlock (&mutex) != thrd_success) in choose_action()
62 thrd_exit (thrd_success); in child_add()
71 if (mtx_init (&mutex, mtx_timed) != thrd_success) in do_test()
74 if (thrd_create (&id, child_add, NULL) != thrd_success) in do_test()
79 if (thrd_join (id, NULL) != thrd_success) in do_test()
A Dtst-thrd-detach.c29 if (thrd_detach (thrd_current ()) != thrd_success) in detach_thrd()
31 thrd_exit (thrd_success); in detach_thrd()
40 if (thrd_create (&id, detach_thrd, NULL) != thrd_success) in do_test()
46 if (thrd_join (id, NULL) == thrd_success) in do_test()
A Dtst-mtx-timedlock.c41 case thrd_success: in choose_action()
44 if (mtx_unlock (&mutex) != thrd_success) in choose_action()
64 thrd_exit (thrd_success); in child_add()
73 if (mtx_init (&mutex, mtx_timed) != thrd_success) in do_test()
87 if (thrd_create (&id, child_add, NULL) != thrd_success) in do_test()
92 if (thrd_join (id, NULL) != thrd_success) in do_test()
A Dtst-cnd-broadcast.c45 thrd_exit (thrd_success); in child_wait()
56 if (cnd_init (&cond) != thrd_success) in do_test()
58 if (mtx_init (&mutex, mtx_plain) != thrd_success) in do_test()
64 if (thrd_create (&ids[i], child_wait, NULL) != thrd_success) in do_test()
81 if (cnd_broadcast (&cond) != thrd_success) in do_test()
87 if (thrd_join (ids[i], NULL) != thrd_success) in do_test()
A Dtst-mtx-recursive.c30 if (mtx_init (&mutex, mtx_plain | mtx_recursive) != thrd_success) in do_test()
33 if (mtx_lock (&mutex) != thrd_success) in do_test()
37 if (mtx_lock (&mutex) != thrd_success) in do_test()
A Dtst-thrd-sleep.c33 thrd_exit (thrd_success); in sleep_thrd()
42 if (thrd_create (&id, sleep_thrd, (void *) (&wait_time)) != thrd_success) in do_test()
45 if (thrd_join (id, NULL) != thrd_success) in do_test()
A Dtst-call-once.c40 thrd_exit (thrd_success); in func()
52 if (thrd_create (&ids[i], func, NULL) != thrd_success) in do_test()
59 if (thrd_join (ids[i], NULL) != thrd_success) in do_test()
A Dthrd_priv.h33 return thrd_success; in thrd_err_map()
A Dthreads.h44 thrd_success = 0, enumerator

Completed in 9 milliseconds