Searched refs:thrd_busy (Results 1 – 14 of 14) sorted by relevance
/third_party/musl/src/thread/ |
D | mtx_trylock.c | 7 return (a_cas(&m->_m_lock, 0, EBUSY) & EBUSY) ? thrd_busy : thrd_success; in mtx_trylock() 13 case EBUSY: return thrd_busy; in mtx_trylock()
|
/third_party/glfw/deps/ |
D | tinycthread.c | 112 int ret = TryEnterCriticalSection(&mtx->mHandle) ? thrd_success : thrd_busy; in mtx_trylock() 116 ret = thrd_busy; in mtx_trylock() 120 return (pthread_mutex_trylock(mtx) == 0) ? thrd_success : thrd_busy; in mtx_trylock()
|
D | tinycthread.h | 172 #define thrd_busy 3 /**< The requested operation failed because a tesource requested by a test … macro
|
/third_party/musl/libc-test/src/functionalext/supplement/thread/thread_gtest/ |
D | thread_mutex_test.cpp | 92 EXPECT_EQ(thrd_busy, mtx_trylock(&mtx_)); 95 EXPECT_EQ(thrd_busy, mtx_trylock(&mtx_)); 151 std::thread([&mtxUnlock] { EXPECT_EQ(thrd_busy, mtx_trylock(&mtxUnlock)); }).join(); in __anon432f95fd0202()
|
/third_party/mesa3d/src/gallium/auxiliary/os/ |
D | os_thread.h | 56 assert(ret == thrd_busy); in __pipe_mutex_assert_locked()
|
/third_party/musl/ndk_musl_include/ |
D | threads.h | 29 thrd_busy = 1, enumerator
|
/third_party/musl/porting/liteos_m/kernel/include/ |
D | threads.h | 29 thrd_busy = 1, enumerator
|
/third_party/musl/include/ |
D | threads.h | 29 thrd_busy = 1, enumerator
|
/third_party/musl/porting/uniproton/kernel/include/ |
D | threads.h | 29 thrd_busy = 1, enumerator
|
/third_party/musl/libc-test/src/functionalext/supplement/thread/ |
D | mtx_trylock.c | 39 EXPECT_EQ("mtx_lock_0200", ret, thrd_busy); in threadfuncB()
|
/third_party/mesa3d/src/util/ |
D | simple_mtx.h | 176 assert(ret == thrd_busy); in simple_mtx_assert_locked()
|
/third_party/mesa3d/src/c11/ |
D | threads.h | 156 thrd_busy, // resource busy enumerator
|
/third_party/mesa3d/src/c11/impl/ |
D | threads_posix.c | 240 return (pthread_mutex_trylock(mtx) == 0) ? thrd_success : thrd_busy; in mtx_trylock()
|
D | threads_win32.c | 295 return TryEnterCriticalSection((PCRITICAL_SECTION)mtx) ? thrd_success : thrd_busy; in mtx_trylock()
|