Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/libc/src/__support/threads/linux/
H A Dmutex.h23 class Mutex final : private RawMutex {
37 : RawMutex(), timed(is_timed), recursive(is_recursive), robust(is_robust), in Mutex()
42 RawMutex::init(mutex); in init()
55 RawMutex::destroy(lock); in destroy()
62 this->RawMutex::lock( in lock()
69 if (this->RawMutex::lock(abs_time, this->pshared)) in timed_lock()
75 if (this->RawMutex::unlock(this->pshared)) in unlock()
82 if (this->RawMutex::try_lock()) in try_lock()
H A Draw_mutex.h39 class RawMutex {
96 LIBC_INLINE static void init(RawMutex *mutex) { mutex->futex = UNLOCKED; } in init()
97 LIBC_INLINE constexpr RawMutex() : futex(UNLOCKED) {} in RawMutex() function
121 LIBC_INLINE void static destroy([[maybe_unused]] RawMutex *lock) { in destroy()
H A Drwlock.h50 class WaitingQueue final : private RawMutex {
92 : RawMutex(), pending_readers(0), pending_writers(0), in WaitingQueue()
/freebsd/contrib/llvm-project/libc/src/__support/threads/
H A DCndVar.h34 RawMutex qmtx;
39 RawMutex::init(&cv->qmtx); in init()