modm API documentation
modm::fiber::shared_mutex Class Reference

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

Inheritance diagram for modm::fiber::shared_mutex:
modm::fiber::shared_timed_mutex

Public Member Functions

bool try_lock ()
 
void lock ()
 
void unlock ()
 
bool try_lock_shared ()
 
void lock_shared ()
 
void unlock_shared ()
 

Detailed Description

Implements the std::shared_mutex interface for fibers.

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

Member Function Documentation

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

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