|
Beamlib 3.3.1
This is the Beam C++ class library.
|
Sempahore class. More...
#include <BSema.h>
Public Member Functions | |
| BSema (int value=0) | |
| BSema (const BSema &sema) | |
| ~BSema () | |
| int | post () |
| Post condition. More... | |
| int | wait () |
| Wait for contition. More... | |
| int | timedWait (int timeUs) |
| Wait for condition with timeout. More... | |
| int | tryWait () |
| Test for the condition. More... | |
| int | getValue () const |
| BSema & | operator= (const BSema &sema) |
Sempahore class.
| BSema::BSema | ( | int | value = 0 | ) |
| BSema::BSema | ( | const BSema & | sema | ) |
| BSema::~BSema | ( | ) |
| int BSema::post | ( | ) |
Post condition.
| int BSema::wait | ( | ) |
Wait for contition.
| int BSema::timedWait | ( | int | timeUs | ) |
Wait for condition with timeout.
| int BSema::tryWait | ( | ) |
Test for the condition.
| int BSema::getValue | ( | ) | const |