24#ifndef _CORE_THREADING_MUTEX_H_
25#define _CORE_THREADING_MUTEX_H_
54 MutexData *mutex_data;
Mutex mutual exclusion lock.
bool try_lock()
Tries to lock the mutex.
@ NORMAL
This type of mutex does not detect deadlock.
@ RECURSIVE
A thread attempting to relock this mutex without first unlocking it shall succeed in locking the mute...
void lock()
Lock this mutex.
void stopby()
Shortly stop by at the mutex.
void unlock()
Unlock the mutex.
Mutex(Type type=NORMAL)
Constructor.
Wait until a given condition holds.
Fawkes library namespace.