artefaktur
software engineer &        architecture

 
 
 
 

class core_semaphore

Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::lang::sys::core_semaphore Class Reference

#include <core_semaphore.h>

List of all members.


Public Member Functions

 core_semaphore (int initcount=0, int maxcount=-1)
 ~core_semaphore ()
bool up (int count=1, int *prevcount=0)
 increment the semaphore counter

bool down (int milliseconds=-1)
 decrement the semaphore counter blocks until semaphore counter is 0


Private Attributes

semaphore_t _sema

Constructor & Destructor Documentation

acdk::lang::sys::core_semaphore::core_semaphore int  initcount = 0,
int  maxcount = -1
[explicit]
 

acdk::lang::sys::core_semaphore::~core_semaphore  ) 
 


Member Function Documentation

bool acdk::lang::sys::core_semaphore::down int  milliseconds = -1  ) 
 

decrement the semaphore counter blocks until semaphore counter is 0

bool acdk::lang::sys::core_semaphore::up int  count = 1,
int *  prevcount = 0
 

increment the semaphore counter


Member Data Documentation

semaphore_t acdk::lang::sys::core_semaphore::_sema [private]
 

 
Last modified 2005-05-08 18:32 by SYSTEM By Artefaktur, Ing. Bureau Kommer