Electronics and Software
Engineering Innovation
Beam-lib  2.15.1

Thread conditional boolean. More...

#include <BCondInt.h>

Public Member Functions

 BCondBool ()
 
 ~BCondBool ()
 
int set ()
 Set value. Wakes waiting. More...
 
int clear ()
 Clear Value. More...
 
int value ()
 Current value. More...
 
int wait ()
 Wait until value is true. More...
 
int timedWait (int timeOutUs)
 Wait until set, with timeout. More...
 
 operator int ()
 

Private Attributes

pthread_mutex_t omutex
 
pthread_cond_t ocond
 
int ovalue
 

Detailed Description

Thread conditional boolean.

Constructor & Destructor Documentation

◆ BCondBool()

BCondBool::BCondBool ( )

◆ ~BCondBool()

BCondBool::~BCondBool ( )

Member Function Documentation

◆ clear()

int BCondBool::clear ( )

Clear Value.

◆ operator int()

BCondBool::operator int ( )
inline

◆ set()

int BCondBool::set ( )

Set value. Wakes waiting.

◆ timedWait()

int BCondBool::timedWait ( int  timeOutUs)

Wait until set, with timeout.

◆ value()

int BCondBool::value ( )

Current value.

◆ wait()

int BCondBool::wait ( )

Wait until value is true.

Member Data Documentation

◆ ocond

pthread_cond_t BCondBool::ocond
private

◆ omutex

pthread_mutex_t BCondBool::omutex
private

◆ ovalue

int BCondBool::ovalue
private

The documentation for this class was generated from the following files: