arduino-audio-tools
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
MutexRecursiveRP2040 Class Reference

Recursive Mutex implementation using the RP2040 Pico SDK: the owning core/task can lock it multiple times and must unlock it the same number of times. More...

#include <MutexRP2040.h>

Inheritance diagram for MutexRecursiveRP2040:
Inheritance graph
[legend]
Collaboration diagram for MutexRecursiveRP2040:
Collaboration graph
[legend]

Public Member Functions

 MutexRecursiveRP2040 ()
 
virtual ~MutexRecursiveRP2040 ()=default
 
void lock () override
 
void unlock () override
 

Protected Attributes

recursive_mutex_t mtx
 

Detailed Description

Recursive Mutex implementation using the RP2040 Pico SDK: the owning core/task can lock it multiple times and must unlock it the same number of times.

Author
Phil Schatzmann

Constructor & Destructor Documentation

◆ MutexRecursiveRP2040()

◆ ~MutexRecursiveRP2040()

virtual ~MutexRecursiveRP2040 ( )
virtualdefault

Member Function Documentation

◆ lock()

void lock ( )
inlineoverridevirtual

Reimplemented from MutexBase.

◆ unlock()

void unlock ( )
inlineoverridevirtual

Reimplemented from MutexBase.

Member Data Documentation

◆ mtx

recursive_mutex_t mtx
protected

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