IntrOS
Loading...
Searching...
No Matches
intros::Mutex Struct Reference

create and initialize a mutex object More...

#include <osmutex.h>

Inheritance diagram for intros::Mutex:

Public Member Functions

constexpr Mutex ()
 constructor, see the constructor parameters of the class
 Mutex (Mutex &&_src)
 move constructor
 Mutex (const Mutex &)=delete
Mutex & operator= (Mutex &&)=delete
Mutex & operator= (const Mutex &)=delete
void reset ()
 mtx_reset()
void kill ()
 mtx_kill()
int take ()
 mtx_take()
int tryLock ()
 mtx_tryLock()
template<typename T>
int waitFor (const T &_delay)
 mtx_waitFor()
template<typename T>
int waitUntil (const T &_time)
 mtx_waitUntil()
int wait ()
 mtx_wait()
int lock ()
 mtx_lock()
int give ()
 mtx_give()
int unlock ()
 mtx_unlock()

Detailed Description

create and initialize a mutex object


The documentation for this struct was generated from the following file: