#include <modm/processing/fiber/mutex.hpp>
|
template<typename Rep , typename Period > |
bool | try_lock_for (std::chrono::duration< Rep, Period > sleep_duration) |
|
template<class Clock , class Duration > |
bool | try_lock_until (std::chrono::time_point< Clock, Duration > sleep_time) |
|
void | lock () |
|
bool | try_lock () |
|
void | unlock () |
|
Implements the std::recursive_timed_mutex
interface for fibers.
- See also
- https://en.cppreference.com/w/cpp/thread/recursive_timed_mutex
bool modm::fiber::recursive_mutex::try_lock |
( |
| ) |
|
|
inheritednodiscardinline |
- Note
- This function can be called from an interrupt.
void modm::fiber::recursive_mutex::unlock |
( |
| ) |
|
|
inheritedinline |
- Note
- This function can be called from an interrupt.
The documentation for this class was generated from the following file: