C++11 compliant implementation of mutex, uses the time point implemented in our chrono replacement instead of the specified one.
More...
C++11 compliant implementation of mutex, uses the time point implemented in our chrono replacement instead of the specified one.
- See also
- std::mutex
Definition at line 43 of file mutex.hpp.
#include <mutex.hpp>
◆ native_handle_type
The native handle type used by the mutex.
Definition at line 48 of file mutex.hpp.
◆ mutex()
constexpr riot::mutex::mutex |
( |
| ) |
|
|
inlineconstexprnoexcept |
◆ native_handle()
Provides access to the native handle.
- Returns
- The native handle of the mutex.
Definition at line 71 of file mutex.hpp.
◆ try_lock()
bool riot::mutex::try_lock |
( |
| ) |
|
|
noexcept |
Try to lock the mutex.
- Returns
true
if the mutex was locked, false
otherwise.
The documentation for this class was generated from the following file: