#include <BCondInt.h>
Public Member Functions | |
BCondBool () | |
~BCondBool () | |
int | set () |
Set value. Wakes waiting. | |
int | clear () |
Clear Value. | |
int | value () |
Current value. | |
int | wait () |
Wait until value is true. | |
int | timedWait (int timeOutUs) |
Wait until set, with timeout. | |
operator int () | |
Private Attributes | |
pthread_mutex_t | omutex |
pthread_cond_t | ocond |
int | ovalue |
BCondBool::BCondBool | ( | ) |
BCondBool::~BCondBool | ( | ) |
int BCondBool::clear | ( | ) |
Clear Value.
BCondBool::operator int | ( | ) | [inline] |
int BCondBool::set | ( | ) |
Set value. Wakes waiting.
int BCondBool::timedWait | ( | int | timeOutUs | ) |
Wait until set, with timeout.
int BCondBool::value | ( | ) |
Current value.
int BCondBool::wait | ( | ) |
Wait until value is true.
pthread_cond_t BCondBool::ocond [private] |
pthread_mutex_t BCondBool::omutex [private] |
int BCondBool::ovalue [private] |