Searched refs:mtx_recursive (Results 1 - 16 of 16) sorted by relevance
/third_party/musl/libc-test/src/functionalext/supplement/thread/ |
H A D | mtx_init.c | 49 * @tc.desc : Verify mtx_init process success when second args is mtx_plain | mtx_recursive. 55 ret = mtx_init(&g_mtx, mtx_plain | mtx_recursive); in mtx_init_0300() 61 * @tc.desc : Verify mtx_init process success when second args is mtx_timed | mtx_recursive. 67 ret = mtx_init(&g_mtx, mtx_timed | mtx_recursive); in mtx_init_0400()
|
H A D | mtx_lock.c | 126 * @tc.desc : Verify process mtx_lock success when mtx_plain second args is mtx_plain | mtx_recursive. 131 int result = mtx_init(&g_mtex, mtx_plain | mtx_recursive); in mtx_lock_0300() 151 * @tc.desc : Verify process mtx_lock success when mtx_plain second args is mtx_timed | mtx_recursive. 156 int result= mtx_init(&g_mtex, mtx_timed | mtx_recursive); in mtx_lock_0400() 177 * @tc.desc : Verify process mtx_lock twice success when mtx_plain second args is mtx_plain | mtx_recursive. 182 int result = mtx_init(&g_mtex, mtx_plain | mtx_recursive); in mtx_lock_0500()
|
H A D | mtx_trylock.c | 52 int result = mtx_init(&g_mtex, mtx_plain | mtx_recursive); in mtx_trylock_0100()
|
/third_party/mesa3d/src/c11/impl/ |
H A D | threads_posix.c | 181 && type != (mtx_plain|mtx_recursive) in mtx_init() 182 && type != (mtx_timed|mtx_recursive) in mtx_init() 183 && type != (mtx_try|mtx_recursive)) in mtx_init() 186 if ((type & mtx_recursive) == 0) { in mtx_init()
|
H A D | threads_win32.c | 258 && type != (mtx_plain|mtx_recursive) in mtx_init() 259 && type != (mtx_timed|mtx_recursive) in mtx_init() 260 && type != (mtx_try|mtx_recursive)) in mtx_init()
|
/third_party/musl/src/thread/ |
H A D | mtx_init.c | 7 ._m_type = ((type&mtx_recursive) ? PTHREAD_MUTEX_RECURSIVE : PTHREAD_MUTEX_NORMAL), in mtx_init()
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | threads.h | 37 mtx_recursive = 1, enumerator
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | threads.h | 37 mtx_recursive = 1, enumerator
|
/third_party/musl/include/ |
H A D | threads.h | 37 mtx_recursive = 1, enumerator
|
/third_party/musl/libc-test/src/functionalext/supplement/thread/thread_gtest/ |
H A D | thread_mutex_test.cpp | 63 * @tc.desc: Determine mtx_plain | mtx_recursive initialization successful in recursive mode. 68 EXPECT_EQ(thrd_success, mtx_init(&mtx_, mtx_plain | mtx_recursive)); in HWTEST_F() 74 * @tc.desc: Determine mtx_timed | mtx_recursive initialization was successful in recursive mode. 79 EXPECT_EQ(thrd_success, mtx_init(&mtx_, mtx_timed | mtx_recursive)); in HWTEST_F() 102 * @tc.desc: Mtx_plain | mtx_recursive the lock in recursive mode and lock it. Use this function to return thrd_ Success 107 EXPECT_EQ(thrd_success, mtx_init(&mtx_, mtx_plain | mtx_recursive)); in HWTEST_F()
|
/third_party/glfw/deps/ |
H A D | tinycthread.h | 181 #define mtx_recursive 8 macro 200 * @li @c mtx_plain | @c mtx_recursive (same as @c mtx_plain, but recursive) 201 * @li @c mtx_timed | @c mtx_recursive (same as @c mtx_timed, but recursive) 202 * @li @c mtx_try | @c mtx_recursive (same as @c mtx_try, but recursive)
|
H A D | tinycthread.c | 60 mtx->mRecursive = type & mtx_recursive; in mtx_init() 67 if (type & mtx_recursive) in mtx_init()
|
/third_party/mesa3d/src/c11/ |
H A D | threads.h | 148 mtx_recursive = 4 enumerator
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_screen.c | 1320 (void) mtx_init(&svgascreen->swc_mutex, mtx_recursive); in svga_screen_create()
|
/third_party/mesa3d/src/mesa/main/ |
H A D | texturebindless.c | 427 mtx_init(&shared->HandlesMutex, mtx_recursive); in _mesa_init_shared_handles()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_pipe.c | 1195 (void)mtx_init(&sscreen->aux_context_lock, mtx_recursive); in radeonsi_screen_create_impl()
|
Completed in 12 milliseconds