Home
last modified time | relevance | path

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

/illumos-gate/usr/src/test/libc-tests/tests/
H A Dc11_threads.c65 VERIFY3S(mtx_init(&mtx, mtx_plain), ==, thrd_success); in cthr_test_mtx_init()
67 VERIFY3S(mtx_init(&mtx, mtx_timed), ==, thrd_success); in cthr_test_mtx_init()
69 VERIFY3S(mtx_init(&mtx, mtx_plain | mtx_recursive), ==, thrd_success); in cthr_test_mtx_init()
71 VERIFY3S(mtx_init(&mtx, mtx_timed | mtx_recursive), ==, thrd_success); in cthr_test_mtx_init()
83 VERIFY3S(mtx_init(&mtx, mtx_plain | mtx_recursive), ==, thrd_success); in cthr_test_mtx_lockrec()
84 VERIFY3S(mtx_lock(&mtx), ==, thrd_success); in cthr_test_mtx_lockrec()
85 VERIFY3S(mtx_lock(&mtx), ==, thrd_success); in cthr_test_mtx_lockrec()
86 VERIFY3S(mtx_trylock(&mtx), ==, thrd_success); in cthr_test_mtx_lockrec()
87 VERIFY3S(mtx_unlock(&mtx), ==, thrd_success); in cthr_test_mtx_lockrec()
88 VERIFY3S(mtx_unlock(&mtx), ==, thrd_success); in cthr_test_mtx_lockrec()
[all …]
H A Dcall_once.c35 VERIFY3S(mtx_lock(&co_once_mtx), ==, thrd_success); in co_once_func()
37 VERIFY3S(mtx_unlock(&co_once_mtx), ==, thrd_success); in co_once_func()
44 VERIFY3S(mtx_lock(&co_mtx), ==, thrd_success); in co_thr()
48 VERIFY3S(mtx_unlock(&co_mtx), ==, thrd_success); in co_thr()
59 VERIFY3S(mtx_init(&co_once_mtx, mtx_plain), ==, thrd_success); in main()
60 VERIFY3S(mtx_init(&co_mtx, mtx_plain), ==, thrd_success); in main()
61 VERIFY3S(cnd_init(&co_cnd), ==, thrd_success); in main()
65 thrd_success); in main()
68 VERIFY3S(mtx_lock(&co_mtx), ==, thrd_success); in main()
70 VERIFY3S(mtx_unlock(&co_mtx), ==, thrd_success); in main()
[all …]
H A Dc11_tss.c34 VERIFY3S(mtx_lock(&ct_mtx), ==, thrd_success); in ct_tss_dtor()
36 VERIFY3S(mtx_unlock(&ct_mtx), ==, thrd_success); in ct_tss_dtor()
43 VERIFY3S(tss_set(ct_key, arg), ==, thrd_success); in ct_tss_thr()
45 VERIFY3S(mtx_lock(&ct_mtx), ==, thrd_success); in ct_tss_thr()
48 VERIFY3S(cnd_broadcast(&ct_cnd), ==, thrd_success); in ct_tss_thr()
51 VERIFY3S(cnd_wait(&ct_cnd, &ct_mtx), ==, thrd_success); in ct_tss_thr()
54 VERIFY3S(mtx_unlock(&ct_mtx), ==, thrd_success); in ct_tss_thr()
67 VERIFY3S(tss_create(&ct_key, ct_tss_dtor), ==, thrd_success); in main()
68 VERIFY3S(mtx_init(&ct_mtx, mtx_plain), ==, thrd_success); in main()
69 VERIFY3S(cnd_init(&ct_cnd), ==, thrd_success); in main()
[all …]
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dc11_thr.c53 return (thrd_success); in cnd_broadcast()
72 return (thrd_success); in cnd_init()
83 return (thrd_success); in cnd_signal()
97 return (thrd_success); in cnd_timedwait()
111 return (thrd_success); in cnd_wait()
145 return (thrd_success); in mtx_init()
153 return (thrd_success); in mtx_lock()
168 return (thrd_success); in mtx_timedlock()
178 return (thrd_success); in mtx_trylock()
189 return (thrd_success); in mtx_unlock()
[all …]
/illumos-gate/usr/src/head/
H A Dthreads.h63 thrd_success = 0, enumerator
/illumos-gate/usr/src/test/libc-tests/cfg/symbols/
H A Dthreads_h.cfg37 value | thrd_success | int | threads.h | -ALL +C11+