Sempahore class. More...
#include <BSema.h>
Public Member Functions | |
| BSema (int value=0) | |
| BSema (const BSema &sema) | |
| ~BSema () | |
| int | post () |
| Post condition. | |
| int | wait () |
| Wait for contition. | |
| int | timedWait (int timeUs) |
| Wait for condition with timeout. | |
| int | tryWait () |
| Test for the condition. | |
| int | getValue () const |
| BSema & | operator= (const BSema &sema) |
Private Attributes | |
| sem_t | osema |
Sempahore class.
| BSema::BSema | ( | int | value = 0 |
) |
| BSema::BSema | ( | const BSema & | sema | ) |
| BSema::~BSema | ( | ) |
| int BSema::getValue | ( | ) | const |
| int BSema::post | ( | ) |
Post condition.
| int BSema::timedWait | ( | int | timeUs | ) |
Wait for condition with timeout.
| int BSema::tryWait | ( | ) |
Test for the condition.
| int BSema::wait | ( | ) |
Wait for contition.
sem_t BSema::osema [private] |
1.6.1