Searched refs:co_mtx (Results 1 - 1 of 1) sorted by relevance
/illumos-gate/usr/src/test/libc-tests/tests/ |
H A D | call_once.c | 27 static mtx_t co_mtx; variable 44 VERIFY3S(mtx_lock(&co_mtx), ==, thrd_success); 46 cnd_wait(&co_cnd, &co_mtx); 47 VERIFY3S(mtx_unlock(&co_mtx), ==, thrd_success); 59 VERIFY3S(mtx_init(&co_mtx, mtx_plain), ==, thrd_success); 67 VERIFY3S(mtx_lock(&co_mtx), ==, thrd_success); 69 VERIFY3S(mtx_unlock(&co_mtx), ==, thrd_success);
|
Completed in 44 milliseconds