Home
last modified time | relevance | path

Searched refs:mtx_timed (Results 1 - 12 of 12) sorted by relevance

/third_party/musl/libc-test/src/functionalext/supplement/thread/
H A Dmtx_timedlock.c37 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 Dmtx_init.c37 * @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 Dmtx_lock.c101 * @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 Dthread_mutex_test.cpp52 * @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 Dthreads_posix.c180 if (type != mtx_plain && type != mtx_timed && type != mtx_try in mtx_init()
182 && type != (mtx_timed|mtx_recursive) in mtx_init()
H A Dthreads_win32.c257 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 Dthreads.h38 mtx_timed = 2, enumerator
/third_party/musl/porting/liteos_m/kernel/include/
H A Dthreads.h38 mtx_timed = 2, enumerator
/third_party/musl/include/
H A Dthreads.h38 mtx_timed = 2, enumerator
/third_party/glfw/deps/
H A Dtinycthread.h179 #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 Dthreads.h147 mtx_timed = 2, enumerator
/third_party/glfw/examples/
H A Dparticles.c1047 mtx_init(&thread_sync.particles_lock, mtx_timed); in main()

Completed in 6 milliseconds