Searched refs:MutexError (Results 1 – 4 of 4) sorted by relevance
40 LIBC_INLINE static MutexError init(Mutex *mutex, bool is_timed, bool isrecur, in init()49 return MutexError::NONE; in init()52 LIBC_INLINE static MutexError destroy(Mutex *lock) { in destroy()56 return MutexError::NONE; in destroy()60 LIBC_INLINE MutexError lock() { in lock()64 return MutexError::NONE; in lock()68 LIBC_INLINE MutexError timed_lock(internal::AbsTimeout abs_time) { in timed_lock()70 return MutexError::NONE; in timed_lock()71 return MutexError::TIMEOUT; in timed_lock()74 LIBC_INLINE MutexError unlock() { in unlock()[all …]
43 if (m->unlock() != MutexError::NONE) { in wait()64 return err == MutexError::NONE ? 0 : -1; in wait()
25 LIBC_INLINE MutexError lock() { return MutexError::NONE; } in lock()26 LIBC_INLINE MutexError unlock() { return MutexError::NONE; } in unlock()27 LIBC_INLINE MutexError reset() { return MutexError::NONE; } in reset()
16 enum class MutexError : int { enum