Account
| Beamlib 3.3.4 This is the Beam C++ class library. |
Loading...
Searching...
No Matches
BCondResource Class Reference
Resource lock. More...
#include <BCondInt.h>
Public Member Functions | |
| BCondResource () | |
| ~BCondResource () | |
| int | lock (uint32_t timeOutUs=0) |
| Lock the resource, will wait for all usage to be 0. | |
| int | unlock () |
| Unlock the resource. | |
| int | start (uint32_t timeOutUs=0) |
| Start using the resource. | |
| int | end () |
| Finish using the resource. | |
| int | locked () |
| int | inUse () |
Detailed Description
Resource lock.
Constructor & Destructor Documentation
◆ BCondResource()
| BCondResource::BCondResource | ( | ) |
◆ ~BCondResource()
| BCondResource::~BCondResource | ( | ) |
Member Function Documentation
◆ lock()
| int BCondResource::lock | ( | uint32_t | timeOutUs = 0 | ) |
Lock the resource, will wait for all usage to be 0.
◆ unlock()
| int BCondResource::unlock | ( | ) |
Unlock the resource.
◆ start()
| int BCondResource::start | ( | uint32_t | timeOutUs = 0 | ) |
Start using the resource.
◆ end()
| int BCondResource::end | ( | ) |
Finish using the resource.
◆ locked()
| int BCondResource::locked | ( | ) |
◆ inUse()
| int BCondResource::inUse | ( | ) |
The documentation for this class was generated from the following files:
Generated by
