Home
last modified time | relevance | path

Searched refs:thrd_busy (Results 1 – 14 of 14) sorted by relevance

/third_party/musl/src/thread/
Dmtx_trylock.c7 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/
Dtinycthread.c112 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()
Dtinycthread.h172 #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/
Dthread_mutex_test.cpp92 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/
Dos_thread.h56 assert(ret == thrd_busy); in __pipe_mutex_assert_locked()
/third_party/musl/ndk_musl_include/
Dthreads.h29 thrd_busy = 1, enumerator
/third_party/musl/porting/liteos_m/kernel/include/
Dthreads.h29 thrd_busy = 1, enumerator
/third_party/musl/include/
Dthreads.h29 thrd_busy = 1, enumerator
/third_party/musl/porting/uniproton/kernel/include/
Dthreads.h29 thrd_busy = 1, enumerator
/third_party/musl/libc-test/src/functionalext/supplement/thread/
Dmtx_trylock.c39 EXPECT_EQ("mtx_lock_0200", ret, thrd_busy); in threadfuncB()
/third_party/mesa3d/src/util/
Dsimple_mtx.h176 assert(ret == thrd_busy); in simple_mtx_assert_locked()
/third_party/mesa3d/src/c11/
Dthreads.h156 thrd_busy, // resource busy enumerator
/third_party/mesa3d/src/c11/impl/
Dthreads_posix.c240 return (pthread_mutex_trylock(mtx) == 0) ? thrd_success : thrd_busy; in mtx_trylock()
Dthreads_win32.c295 return TryEnterCriticalSection((PCRITICAL_SECTION)mtx) ? thrd_success : thrd_busy; in mtx_trylock()