Home
last modified time | relevance | path

Searched refs:mtx_t (Results 1 – 3 of 3) sorted by relevance

/haiku/headers/posix/
H A Dthreads.h41 typedef pthread_mutex_t mtx_t; typedef
78 int cnd_timedwait(cnd_t *__restrict, mtx_t *__restrict __mtx,
80 int cnd_wait(cnd_t *, mtx_t *__mtx);
81 void mtx_destroy(mtx_t *__mtx);
82 int mtx_init(mtx_t *__mtx, int);
83 int mtx_lock(mtx_t *__mtx);
84 int mtx_timedlock(mtx_t *__restrict __mtx,
86 int mtx_trylock(mtx_t *__mtx);
87 int mtx_unlock(mtx_t *__mtx);
/haiku/src/system/libroot/posix/libstdthreads/
H A Dmtx.c37 mtx_destroy(mtx_t *mtx) in mtx_destroy()
44 mtx_init(mtx_t *mtx, int type) in mtx_init()
72 mtx_lock(mtx_t *mtx) in mtx_lock()
81 mtx_timedlock(mtx_t *restrict mtx, const struct timespec *restrict ts) in mtx_timedlock()
95 mtx_trylock(mtx_t *mtx) in mtx_trylock()
109 mtx_unlock(mtx_t *mtx) in mtx_unlock()
H A Dcnd.c76 cnd_timedwait(cnd_t *restrict cond, mtx_t *restrict mtx, in cnd_timedwait()
91 cnd_wait(cnd_t *cond, mtx_t *mtx) in cnd_wait()