Main Page | Namespace List | Class Hierarchy | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages

Condition.hpp

Go to the documentation of this file.
00001 #ifndef Condition_HPP
00002 #define Condition_HPP
00003 
00004 #include <pthread.h>
00005 
00017   class Condition{
00018 
00019     private:
00020 
00021       volatile bool cond;          
00022       pthread_mutex_t condLock;    
00023       pthread_cond_t condCond;     
00025     public:
00026 
00030       Condition();
00031 
00036       void wait();
00037 
00043       void signal();
00044 
00045 
00046   };
00047 
00048 #endif//Condition_HPP

Generated on Mon Sep 6 16:12:47 2004 by doxygen 1.3.3