arduino-audio-tools
Public Member Functions | Protected Attributes | List of all members
MutexRP2040 Class Reference

Mutex API for non IRQ mutual exclusion between cores. Mutexes are application level locks usually used protecting data structures that might be used by multiple threads of execution. Unlike critical sections, the mutex protected code is not necessarily required/expected to complete quickly, as no other sytem wide locks are held on account of an acquired mutex. More...

#include <MutexRP2040.h>

Inheritance diagram for MutexRP2040:
MutexBase

Public Member Functions

void lock () override
 
void unlock () override
 

Protected Attributes

mutex_t mtx
 

Detailed Description

Mutex API for non IRQ mutual exclusion between cores. Mutexes are application level locks usually used protecting data structures that might be used by multiple threads of execution. Unlike critical sections, the mutex protected code is not necessarily required/expected to complete quickly, as no other sytem wide locks are held on account of an acquired mutex.

Author
Phil Schatzmann

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