Account
| ArmsysApi 0.12.18 |
BMutex Class Reference
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... | |
| BMutex & | operator= (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=()
◆ tryLock()
| int BMutex::tryLock | ( | ) |
Test the lock.
◆ unlock()
| void BMutex::unlock | ( | ) |
Unlock the lock.
Member Data Documentation
◆ omutex
| private |
The documentation for this class was generated from the following files:
Generated by
1.8.15 