Searched refs:thrd_success (Results 1 – 13 of 13) sorted by relevance
/sysdeps/pthread/ |
A D | tst-cnd-basic.c | 36 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 D | tst-cnd-timedwait.c | 36 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 D | tst-mtx-basic.c | 34 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 D | tst-tss-basic.c | 33 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 D | tst-mtx-trylock.c | 38 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 D | tst-thrd-detach.c | 29 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 D | tst-mtx-timedlock.c | 41 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 D | tst-cnd-broadcast.c | 45 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 D | tst-mtx-recursive.c | 30 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 D | tst-thrd-sleep.c | 33 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 D | tst-call-once.c | 40 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 D | thrd_priv.h | 33 return thrd_success; in thrd_err_map()
|
A D | threads.h | 44 thrd_success = 0, enumerator
|
Completed in 9 milliseconds