Searched refs:RawMutex (Results 1 – 4 of 4) sorted by relevance
23 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()
39 class RawMutex {96 LIBC_INLINE static void init(RawMutex *mutex) { mutex->futex = UNLOCKED; } in init()97 LIBC_INLINE constexpr RawMutex() : futex(UNLOCKED) {} in RawMutex() function121 LIBC_INLINE void static destroy([[maybe_unused]] RawMutex *lock) { in destroy()
50 class WaitingQueue final : private RawMutex {92 : RawMutex(), pending_readers(0), pending_writers(0), in WaitingQueue()
34 RawMutex qmtx;39 RawMutex::init(&cv->qmtx); in init()