RTXI  2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Semaphore Class Reference

#include <sem.h>

Public Member Functions

 Semaphore (size_t n=0)
 ~Semaphore (void)
void down (void)
void up (void)
int value (void)

Private Attributes

int count

Detailed Description

Definition at line 25 of file sem.h.

Constructor & Destructor Documentation

Semaphore::Semaphore(size_t n = 0)

Definition at line 24 of file sem.cpp.

Semaphore::~Semaphore(void )

Definition at line 26 of file sem.cpp.

Member Function Documentation

void Semaphore::down(void )

Definition at line 28 of file sem.cpp.

void Semaphore::up(void )

Definition at line 43 of file sem.cpp.

int Semaphore::value(void )

Definition at line 48 of file sem.cpp.

Member Data Documentation

int Semaphore::count

Definition at line 39 of file sem.h.

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