Beamlib 3.1.1
This is the Beam C++ class library.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
BSema Class Reference

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
 
BSemaoperator= (const BSema &sema)
 

Detailed Description

Sempahore class.

Constructor & Destructor Documentation

◆ BSema() [1/2]

BSema::BSema ( int  value = 0)

◆ BSema() [2/2]

BSema::BSema ( const BSema sema)

◆ ~BSema()

BSema::~BSema ( )

Member Function Documentation

◆ post()

int BSema::post ( )

Post condition.

◆ wait()

int BSema::wait ( )

Wait for contition.

◆ timedWait()

int BSema::timedWait ( int  timeUs)

Wait for condition with timeout.

◆ tryWait()

int BSema::tryWait ( )

Test for the condition.

◆ getValue()

int BSema::getValue ( ) const

◆ operator=()

BSema & BSema::operator= ( const BSema sema)

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