BDS Public
Beamlib 3.3.4
This is the Beam C++ class library.
Loading...
Searching...
No Matches
BMutexLock Class Reference

Mutex class that removes the lock on deletion and so is useful to lock data in a function call. More...

#include <BMutex.h>

Public Member Functions

 BMutexLock (BMutex &lock, int doLock=0)
 
 ~BMutexLock ()
 
int lock ()
 
int unlock ()
 

Detailed Description

Mutex class that removes the lock on deletion and so is useful to lock data in a function call.

Constructor & Destructor Documentation

◆ BMutexLock()

BMutexLock::BMutexLock ( BMutex lock,
int  doLock = 0 
)
inline

◆ ~BMutexLock()

BMutexLock::~BMutexLock ( )
inline

Member Function Documentation

◆ lock()

int BMutexLock::lock ( )
inline

◆ unlock()

int BMutexLock::unlock ( )
inline

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