Searched refs:thrd_busy (Results 1 - 13 of 13) sorted by relevance
/third_party/musl/src/thread/ |
H A 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/mesa3d/src/gallium/auxiliary/os/ |
H A D | os_thread.h | 56 assert(ret == thrd_busy); in __pipe_mutex_assert_locked()
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | threads.h | 29 thrd_busy = 1, enumerator
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | threads.h | 29 thrd_busy = 1, enumerator
|
/third_party/musl/include/ |
H A D | threads.h | 29 thrd_busy = 1, enumerator
|
/third_party/musl/libc-test/src/functionalext/supplement/thread/ |
H A D | mtx_trylock.c | 39 EXPECT_EQ("mtx_lock_0200", ret, thrd_busy); in threadfuncB()
|
/third_party/glfw/deps/ |
H A 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()
|
H A D | tinycthread.h | 174 #define thrd_busy 3 /**< The requested operation failed because a tesource requested by a test and return function is already in use */ macro 231 * @return @ref thrd_success on success, or @ref thrd_busy if the resource
|
/third_party/musl/libc-test/src/functionalext/supplement/thread/thread_gtest/ |
H A D | thread_mutex_test.cpp | 92 EXPECT_EQ(thrd_busy, mtx_trylock(&mtx_)); in HWTEST_F() 95 EXPECT_EQ(thrd_busy, mtx_trylock(&mtx_)); in HWTEST_F() 151 std::thread([&mtxUnlock] { EXPECT_EQ(thrd_busy, mtx_trylock(&mtxUnlock)); }).join(); in HWTEST_F()
|
/third_party/mesa3d/src/util/ |
H A D | simple_mtx.h | 176 assert(ret == thrd_busy); in simple_mtx_assert_locked()
|
/third_party/mesa3d/src/c11/ |
H A D | threads.h | 156 thrd_busy, // resource busy enumerator
|
/third_party/mesa3d/src/c11/impl/ |
H A D | threads_posix.c | 240 return (pthread_mutex_trylock(mtx) == 0) ? thrd_success : thrd_busy; in mtx_trylock()
|
H A D | threads_win32.c | 295 return TryEnterCriticalSection((PCRITICAL_SECTION)mtx) ? thrd_success : thrd_busy; in mtx_trylock()
|
Completed in 8 milliseconds