|
IntrOS
|
create and initialize a mutex object More...
#include <osmutex.h>
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() | |
create and initialize a mutex object