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