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

CountingSemHolder.h

Go to the documentation of this file.
00001 #ifndef CountingSemHolder_H 00002 #define CountingSemHolder_H 00003 00004 #include "CountingSem.h" 00005 00006 BOREALIS_NAMESPACE_BEGIN; 00007 00008 // For the entire time this object is instantiated, it holds a lock 00009 // on the specified CountingSem. 00010 class CountingSemHolder 00011 { 00012 public: 00013 CountingSemHolder(CountingSem & semToHold) 00014 throw (std::exception); 00015 00016 virtual ~CountingSemHolder(); 00017 private: 00018 CountingSem & _sem; 00019 }; 00020 00021 BOREALIS_NAMESPACE_END; 00022 00023 #endif

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