Resource lock.
More...
#include <BCondInt.h>
| BCondResource::BCondResource |
( |
| ) |
|
| BCondResource::~BCondResource |
( |
| ) |
|
| int BCondResource::end |
( |
| ) |
|
Finish using the resource.
| int BCondResource::inUse |
( |
| ) |
|
| int BCondResource::lock |
( |
uint32_t |
timeOutUs = 0 | ) |
|
Lock the resource, will wait for all usage to be 0.
| int BCondResource::locked |
( |
| ) |
|
| int BCondResource::start |
( |
uint32_t |
timeOutUs = 0 | ) |
|
Start using the resource.
| int BCondResource::unlock |
( |
| ) |
|
| pthread_cond_t BCondResource::ocond |
|
private |
| pthread_mutex_t BCondResource::omutex |
|
private |
The documentation for this class was generated from the following files: