Searched refs:mtx_trylock (Results 1 – 12 of 12) sorted by relevance
18 int mtx_trylock(mtx_t *mutex);57 if (mtx_trylock(&mtx1) != thrd_success) in bad6()79 if (mtx_trylock(&mtx) == thrd_success) in good2()
37 void mtx_trylock() {} in mtx_trylock() function86 mtx_trylock(); in testBlockInCriticalSectionC11Locks()
200 mtx_trylock(mtx_t *mtx);225 while (mtx_trylock(mtx) != thrd_success) { in mtx_timedlock()239 mtx_trylock(mtx_t *mtx) in mtx_trylock() function
121 static inline int mtx_trylock(mtx_t *mtx);447 while (mtx_trylock(mtx) != thrd_success) { in mtx_timedlock()459 mtx_trylock(mtx_t *mtx) in mtx_trylock() function
227 mtx_trylock(mtx_t *mtx);249 while (mtx_trylock(mtx) != thrd_success) { in mtx_timedlock()263 mtx_trylock(mtx_t *mtx) in mtx_trylock() function
125 static inline int mtx_trylock(mtx_t *mtx);451 while (mtx_trylock(mtx) != thrd_success) { in mtx_timedlock()463 mtx_trylock(mtx_t *mtx) in mtx_trylock() function
159 int ret = mtx_trylock(mtx); in simple_mtx_assert_locked()
55 int ret = mtx_trylock(mutex); in __pipe_mutex_assert_locked()
578 return mtx_trylock(__m) == thrd_success;599 return mtx_trylock(__m) == thrd_success;
625 if (mtx_trylock(&extctx->lock) != thrd_success) { in etna_resource_used()
659 SYMBOL(mtx_trylock, None, <threads.h>)
2247 `` pthread_mutex_unlock, mtx_lock, mtx_timedlock, mtx_trylock, mtx_unlock, lock_guard, unique_lock``