Searched refs:mtx_t (Results 1 – 4 of 4) sorted by relevance
| /lib/libc/common/source/thrd/ |
| A D | mtx.c | 13 int mtx_init(mtx_t *mutex, int type) in mtx_init() 52 void mtx_destroy(mtx_t *mutex) in mtx_destroy() 57 int mtx_lock(mtx_t *mutex) in mtx_lock() 67 int mtx_timedlock(mtx_t *restrict mutex, const struct timespec *restrict time_point) in mtx_timedlock() 79 int mtx_trylock(mtx_t *mutex) in mtx_trylock() 91 int mtx_unlock(mtx_t *mutex) in mtx_unlock()
|
| A D | cnd.c | 51 int cnd_timedwait(cnd_t *restrict cond, mtx_t *restrict mtx, const struct timespec *restrict ts) in cnd_timedwait() 63 int cnd_wait(cnd_t *cond, mtx_t *mtx) in cnd_wait()
|
| /lib/libc/common/include/ |
| A D | threads.h | 52 int mtx_init(mtx_t *mutex, int type); 53 void mtx_destroy(mtx_t *mutex); 54 int mtx_lock(mtx_t *mutex); 55 int mtx_timedlock(mtx_t *ZRESTRICT mutex, const struct timespec *ZRESTRICT time_point); 56 int mtx_trylock(mtx_t *mutex); 57 int mtx_unlock(mtx_t *mutex); 60 int cnd_wait(cnd_t *cond, mtx_t *mtx); 61 int cnd_timedwait(cnd_t *ZRESTRICT cond, mtx_t *ZRESTRICT mtx, const struct timespec *ZRESTRICT ts);
|
| /lib/libc/common/include/machine/ |
| A D | _threads.h | 17 typedef int mtx_t; typedef
|
Completed in 31 milliseconds