modm API documentation
modm::fiber::mutex Class Reference

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

Inheritance diagram for modm::fiber::mutex:
modm::fiber::timed_mutex

Public Member Functions

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

Detailed Description

Implements the std::mutex interface for fibers.

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

Member Function Documentation

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

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