Searched refs:mtx_t (Results 1 – 6 of 6) sorted by relevance
/titanic_44/usr/src/head/ |
H A D | threads.h | 51 typedef pthread_mutex_t mtx_t; typedef 75 extern int cnd_timedwait(cnd_t *_RESTRICT_KYWD, mtx_t *_RESTRICT_KYWD, 77 extern int cnd_wait(cnd_t *, mtx_t *); 78 extern void mtx_destroy(mtx_t *); 79 extern int mtx_init(mtx_t *, int); 80 extern int mtx_lock(mtx_t *); 81 extern int mtx_timedlock(mtx_t *_RESTRICT_KYWD, 83 extern int mtx_trylock(mtx_t *); 84 extern int mtx_unlock(mtx_t *);
|
/titanic_44/usr/src/lib/libc/port/threads/ |
H A D | c11_thr.c | 90 cnd_timedwait(cnd_t *_RESTRICT_KYWD cnd, mtx_t *_RESTRICT_KYWD mtx, in cnd_timedwait() 105 cnd_wait(cnd_t *cnd, mtx_t *mtx) in cnd_wait() 116 mtx_destroy(mtx_t *mtx) in mtx_destroy() 123 mtx_init(mtx_t *mtx, int type) in mtx_init() 150 mtx_lock(mtx_t *mtx) in mtx_lock() 158 mtx_timedlock(mtx_t *_RESTRICT_KYWD mtx, in mtx_timedlock() 172 mtx_trylock(mtx_t *mtx) in mtx_trylock() 186 mtx_unlock(mtx_t *mtx) in mtx_unlock()
|
/titanic_44/usr/src/test/libc-tests/cfg/symbols/ |
H A D | threads_h.cfg | 26 type | mtx_t | threads.h | -ALL +C11 80 cnd_t *; mtx_t *; const struct timespec * |\ 85 cnd_t *; mtx_t * |\ 90 mtx_t * |\ 95 mtx_t *; int |\ 100 mtx_t * |\ 105 mtx_t *; const struct timespec * |\ 110 mtx_t * |\ 115 mtx_t * |\
|
/titanic_44/usr/src/test/libc-tests/tests/ |
H A D | c11_threads.c | 32 static mtx_t stress_mtx; 37 static mtx_t broadcast_mtx; 43 static mtx_t signal_mtx; 63 mtx_t mtx; in cthr_test_mtx_init() 81 mtx_t mtx; in cthr_test_mtx_lockrec() 96 mtx_t mtx; in cthr_test_mtx_trylock() 303 mtx_t mtx; in cthr_test_cndtime() 323 mtx_t mtx; in cthr_test_mtx_selftime() 338 mtx_t *mtx = arg; in cthr_test_mtx_busy_thr() 353 mtx_t mtx; in cthr_test_mtx_busy()
|
H A D | call_once.c | 26 static mtx_t co_once_mtx; 27 static mtx_t co_mtx;
|
H A D | c11_tss.c | 28 static mtx_t ct_mtx;
|