Home
last modified time | relevance | path

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

/dports/devel/R-cran-later/later/src/
H A Dtinycthread.h203 } tct_mtx_t; typedef
205 typedef pthread_mutex_t tct_mtx_t; typedef
218 int tct_mtx_init(tct_mtx_t *mtx, int type);
223 void tct_mtx_destroy(tct_mtx_t *mtx);
233 int tct_mtx_lock(tct_mtx_t *mtx);
244 int tct_mtx_timedlock(tct_mtx_t *mtx, const struct timespec *ts);
254 int tct_mtx_trylock(tct_mtx_t *mtx);
261 int tct_mtx_unlock(tct_mtx_t *mtx);
316 int tct_cnd_wait(tct_cnd_t *cond, tct_mtx_t *mtx);
330 int tct_cnd_timedwait(tct_cnd_t *cond, tct_mtx_t *mtx, const struct timespec *ts);
H A Dtinycthread.c57 int tct_mtx_init(tct_mtx_t *mtx, int type) in tct_mtx_init()
90 void tct_mtx_destroy(tct_mtx_t *mtx) in tct_mtx_destroy()
106 int tct_mtx_lock(tct_mtx_t *mtx) in tct_mtx_lock()
136 int tct_mtx_timedlock(tct_mtx_t *mtx, const struct timespec *ts) in tct_mtx_timedlock()
231 int tct_mtx_trylock(tct_mtx_t *mtx) in tct_mtx_trylock()
263 int tct_mtx_unlock(tct_mtx_t *mtx) in tct_mtx_unlock()
386 static int _cnd_timedwait_win32(tct_cnd_t *cond, tct_mtx_t *mtx, DWORD timeout) in _cnd_timedwait_win32()
441 int tct_cnd_wait(tct_cnd_t *cond, tct_mtx_t *mtx) in tct_cnd_wait()
450 int tct_cnd_timedwait(tct_cnd_t *cond, tct_mtx_t *mtx, const struct timespec *ts) in tct_cnd_timedwait()
H A Dthreadutils.h15 tct_mtx_t _m;
84 tct_mtx_t* _m;