Searched refs:mtx_trylock (Results 1 – 16 of 16) sorted by relevance
91 EXPECT_EQ(thrd_success, mtx_trylock(&mtx_));92 EXPECT_EQ(thrd_busy, mtx_trylock(&mtx_));95 EXPECT_EQ(thrd_busy, mtx_trylock(&mtx_));109 EXPECT_EQ(thrd_success, mtx_trylock(&mtx_));151 std::thread([&mtxUnlock] { EXPECT_EQ(thrd_busy, mtx_trylock(&mtxUnlock)); }).join(); in __anon02ace2890202()
27 ret = mtx_trylock(&g_mtex); in threadfuncA()38 ret = mtx_trylock(&g_mtex); in threadfuncB()
17 "mtx_trylock",
223 while (mtx_trylock(mtx) != thrd_success) { in mtx_timedlock()237 mtx_trylock(mtx_t *mtx) in mtx_trylock() function
281 while (mtx_trylock(mtx) != thrd_success) { in mtx_timedlock()292 mtx_trylock(mtx_t *mtx) in mtx_trylock() function
4 int mtx_trylock(mtx_t *m) in mtx_trylock() function
55 int ret = mtx_trylock(mutex); in __pipe_mutex_assert_locked()
65 int mtx_trylock(mtx_t *);
175 int ret = mtx_trylock(mtx); in simple_mtx_assert_locked()
175 int mtx_trylock(mtx_t *__mtx);
233 int mtx_trylock(mtx_t *mtx);
109 int mtx_trylock(mtx_t *mtx) in mtx_trylock() function
1194 mtx_trylock;
1374 "src/thread/mtx_trylock.c",