embkernel
 All Classes Functions Variables Typedefs Groups Pages
Public Member Functions | List of all members

Semaphore object. More...

#include <RtosSemaphore.hpp>

Inheritance diagram for RtosSemaphore:
RtosSyncObject

Public Member Functions

 RtosSemaphore (int maxCount, int initialCount)
 
bool give (Rtos::TICK tick)
 
bool giveFromInt ()
 
bool take (Rtos::TICK tick)
 
bool takeFromInt ()
 

Additional Inherited Members

- Protected Member Functions inherited from RtosSyncObject
 RtosSyncObject (int maxCount, int initialCount)
 
int internalTake (Rtos::TICK tick, int value)
 
int internalGive (Rtos::TICK tick, int value)
 

Detailed Description

Semaphore object.

Used to synchronize different task.

Definition at line 18 of file RtosSemaphore.hpp.


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