yafthreads::conditionVar_t Class Reference

#include <ccthreads.h>

List of all members.

Public Member Functions

 conditionVar_t ()
 ~conditionVar_t ()
void lock ()
void unlock ()
void signal ()
void wait ()

Protected Member Functions

 conditionVar_t (const conditionVar_t &m)
conditionVar_toperator= (const conditionVar_t &m)

Detailed Description

The try to provide a platform independant codition object, as a matter of fact it is simply a pthread wrapper now... It is mutex and condition variable in one! Usage: waiting thread: lock(); ...initialize conditions to be met...; wait(); signalling thread: lock(); ...check if you want to signal...; [signal();] unlock();

Definition at line 48 of file ccthreads.h.

Constructor & Destructor Documentation

yafthreads::conditionVar_t::conditionVar_t (  ) 

Definition at line 64 of file ccthreads.cc.

yafthreads::conditionVar_t::~conditionVar_t (  ) 

Definition at line 135 of file ccthreads.cc.

yafthreads::conditionVar_t::conditionVar_t ( const conditionVar_t m  )  [protected]

Member Function Documentation

void yafthreads::conditionVar_t::lock (  ) 

Definition at line 86 of file ccthreads.cc.

conditionVar_t& yafthreads::conditionVar_t::operator= ( const conditionVar_t m  )  [protected]
void yafthreads::conditionVar_t::signal (  ) 

Definition at line 110 of file ccthreads.cc.

void yafthreads::conditionVar_t::unlock (  ) 

Definition at line 98 of file ccthreads.cc.

void yafthreads::conditionVar_t::wait (  ) 

Definition at line 122 of file ccthreads.cc.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 18 Dec 2009 for YafaRay by  doxygen 1.6.1