Searched refs:mtx_timed (Results 1 - 12 of 12) sorted by relevance
/third_party/musl/libc-test/src/functionalext/supplement/thread/ |
H A D | mtx_timedlock.c | 37 ret = mtx_init(&mutex, mtx_timed); in mtx_timedlock_0100() 64 ret = mtx_init(&mutex, mtx_timed); in mtx_timedlock_0200() 96 ret = mtx_init(&mutex, mtx_timed); in mtx_timedlock_time64_0100()
|
H A D | mtx_init.c | 37 * @tc.desc : Verify mtx_init process success when second args is mtx_timed. 43 ret = mtx_init(&g_mtx, mtx_timed); in mtx_init_0200() 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 | 101 * @tc.desc : Verify process mtx_lock success when mtx_init second args is mtx_timed. 106 int result = mtx_init(&g_mtex, mtx_timed); in mtx_lock_0200() 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()
|
/third_party/musl/libc-test/src/functionalext/supplement/thread/thread_gtest/ |
H A D | thread_mutex_test.cpp | 52 * @tc.desc: Determine mtx_timed Is initialization successful in timed mode. 57 EXPECT_EQ(thrd_success, mtx_init(&mtx_, mtx_timed)); 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() 124 EXPECT_EQ(thrd_success, mtx_init(&mtxTime, mtx_timed)); in HWTEST_F() 128 EXPECT_EQ(thrd_success, mtx_init(&mtxTime, mtx_timed)); in HWTEST_F()
|
/third_party/mesa3d/src/c11/impl/ |
H A D | threads_posix.c | 180 if (type != mtx_plain && type != mtx_timed && type != mtx_try in mtx_init() 182 && type != (mtx_timed|mtx_recursive) in mtx_init()
|
H A D | threads_win32.c | 257 if (type != mtx_plain && type != mtx_timed && type != mtx_try in mtx_init() 259 && type != (mtx_timed|mtx_recursive) in mtx_init()
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | threads.h | 38 mtx_timed = 2, enumerator
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | threads.h | 38 mtx_timed = 2, enumerator
|
/third_party/musl/include/ |
H A D | threads.h | 38 mtx_timed = 2, enumerator
|
/third_party/glfw/deps/ |
H A D | tinycthread.h | 179 #define mtx_timed 2 macro 198 * @li @c mtx_timed for a non-recursive mutex that supports timeout 201 * @li @c mtx_timed | @c mtx_recursive (same as @c mtx_timed, but recursive)
|
/third_party/mesa3d/src/c11/ |
H A D | threads.h | 147 mtx_timed = 2, enumerator
|
/third_party/glfw/examples/ |
H A D | particles.c | 1047 mtx_init(&thread_sync.particles_lock, mtx_timed); in main()
|
Completed in 6 milliseconds