Home
last modified time | relevance | path

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

/external/llvm-project/libc/test/src/threads/
Dmtx_test.cpp68 mtx_t start_lock, step_lock; variable
76 __llvm_libc::mtx_lock(&step_lock); in stepper()
78 __llvm_libc::mtx_unlock(&step_lock); in stepper()
85 ASSERT_EQ(__llvm_libc::mtx_init(&step_lock, mtx_plain), in TEST()
93 ASSERT_EQ(__llvm_libc::mtx_lock(&step_lock), static_cast<int>(thrd_success)); in TEST()
113 ASSERT_EQ(__llvm_libc::mtx_unlock(&step_lock), in TEST()
117 ASSERT_EQ(__llvm_libc::mtx_lock(&step_lock), in TEST()
120 ASSERT_EQ(__llvm_libc::mtx_unlock(&step_lock), in TEST()