ArmSys Support
ArmsysApi  0.12.18

Mutex class. More...

#include <BMutex.h>

Public Member Functions

 BMutex ()
 
 BMutex (const BMutex &mutex)
 
 ~BMutex ()
 
void lock ()
 Set lock, wait as necessary. More...
 
void unlock ()
 Unlock the lock. More...
 
int tryLock ()
 Test the lock. More...
 
BMutexoperator= (const BMutex &mutex)
 

Private Attributes

SemaphoreHandle_t omutex
 

Detailed Description

Mutex class.

Constructor & Destructor Documentation

◆ BMutex() [1/2]

BMutex::BMutex ( )

◆ BMutex() [2/2]

BMutex::BMutex ( const BMutex mutex)

◆ ~BMutex()

BMutex::~BMutex ( )

Member Function Documentation

◆ lock()

void BMutex::lock ( )

Set lock, wait as necessary.

◆ operator=()

BMutex & BMutex::operator= ( const BMutex mutex)

◆ tryLock()

int BMutex::tryLock ( )

Test the lock.

◆ unlock()

void BMutex::unlock ( )

Unlock the lock.

Member Data Documentation

◆ omutex

SemaphoreHandle_t BMutex::omutex
private

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