Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

PtCondition.h

Go to the documentation of this file.
00001 #ifndef PtCondition_H 00002 #define PtCondition_H 00003 00004 #include "Exceptions.h" 00005 #include <exception> 00006 00007 #include <pthread.h> 00008 00009 BOREALIS_NAMESPACE_BEGIN; 00010 00011 class PtMutex; 00012 00013 class PtCondition 00014 { 00015 public: 00016 PtCondition() 00017 throw (::std::exception); 00018 00019 virtual ~PtCondition() 00020 throw (::std::exception); 00021 00022 void signal() 00023 throw (::std::exception); 00024 00025 void broadcast() 00026 throw (::std::exception); 00027 private: 00028 friend class PtMutex; 00029 00030 pthread_cond_t _cond; 00031 }; 00032 00033 BOREALIS_NAMESPACE_END; 00034 00035 #endif

Generated on Fri Nov 12 15:15:21 2004 for Borealis by doxygen 1.3.8