#include <mutex>
Inheritance diagram for os::estd::mutex:Public Types | |
| using | native_handle_type = native_type * |
Public Member Functions | |
| mutex () noexcept | |
| mutex (const mutex &)=delete | |
| ~mutex ()=default | |
| void | lock () |
| native_handle_type | native_handle () |
| mutex & | operator= (const mutex &)=delete |
| bool | try_lock () |
| void | unlock () |
Protected Attributes | |
| native_type | nm_ |
Private Types | |
| using | native_type = os::rtos::mutex |
|
private |
|
default |
|
delete |
| void os::estd::mutex::lock | ( | ) |
Definition at line 29 of file mutex.cpp.
References os::estd::__throw_cmsis_error(), os::rtos::mutex::lock(), nm_, and os::rtos::result::ok.
|
inline |
| bool os::estd::mutex::try_lock | ( | ) |
Definition at line 41 of file mutex.cpp.
References os::estd::__throw_cmsis_error(), nm_, os::rtos::result::ok, and os::rtos::mutex::try_lock().
| void os::estd::mutex::unlock | ( | ) |
Definition at line 60 of file mutex.cpp.
References os::estd::__throw_cmsis_error(), nm_, os::rtos::result::ok, and os::rtos::mutex::unlock().
|
protected |
Definition at line 89 of file mutex.
Referenced by lock(), native_handle(), try_lock(), os::estd::timed_mutex::try_lock_for(), and unlock().