EtcPal  0.4.1
ETC Platform Abstraction Layer (EtcPal)
View other versions:
mutex (Mutexes)

Overview

C++ utilities for the mutex (Mutexes) module.

Provides a C++ wrapper for the EtcPal mutex type. Also provides an RAII guard classes for this type (MutexGuard), which should be the primary constructs used to interact with the mutex class.

This class is similar to std::mutex, with the key advantage that it will work on any threaded platform that EtcPal is ported for, including the embedded RTOS platforms. If your application or library does not need to run on these platforms, consider using std::mutex instead.

Data Structures

class  Mutex
 A wrapper class for the EtcPal mutex type. More...
 
class  MutexGuard
 Lock guard around a mutex. More...