Home
last modified time | relevance | path

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

/external/llvm-project/libc/src/threads/linux/
Dmtx_unlock.cpp24 uint32_t mutex_status = MS_Waiting; in LLVM_LIBC_ENTRYPOINT() local
25 if (atomic_compare_exchange_strong(futex_word, &mutex_status, MS_Free)) { in LLVM_LIBC_ENTRYPOINT()
32 if (mutex_status == MS_Locked) { in LLVM_LIBC_ENTRYPOINT()
34 if (atomic_compare_exchange_strong(futex_word, &mutex_status, MS_Free)) in LLVM_LIBC_ENTRYPOINT()
Dmtx_lock.cpp24 uint32_t mutex_status = MS_Free; in LLVM_LIBC_ENTRYPOINT() local
27 if (atomic_compare_exchange_strong(futex_data, &mutex_status, MS_Locked)) in LLVM_LIBC_ENTRYPOINT()
30 switch (mutex_status) { in LLVM_LIBC_ENTRYPOINT()