modm API documentation
modm::fiber::recursive_mutex Class Reference

#include <modm/processing/fiber/mutex.hpp>

Inheritance diagram for modm::fiber::recursive_mutex:
modm::fiber::recursive_timed_mutex

Public Member Functions

bool try_lock ()
 
void lock ()
 
void unlock ()
 

Detailed Description

Implements the std::recursive_mutex interface for fibers.

See also
https://en.cppreference.com/w/cpp/thread/recursive_mutex

Member Function Documentation

bool modm::fiber::recursive_mutex::try_lock ( )
nodiscardinline
Note
This function can be called from an interrupt.
void modm::fiber::recursive_mutex::unlock ( )
inline
Note
This function can be called from an interrupt.

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