00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef CMUTEX_H
00016 #define CMUTEX_H
00017
00018 #include "IArchMultithread.h"
00019
00021
00029 class CMutex {
00030 public:
00031 CMutex();
00033
00037 CMutex(const CMutex&);
00038 ~CMutex();
00039
00041
00042
00044
00048 CMutex& operator=(const CMutex&);
00049
00051
00052
00053
00055
00062 void lock() const;
00063
00065
00069 void unlock() const;
00070
00072
00073 private:
00074 friend class CCondVarBase;
00075 CArchMutex m_mutex;
00076 };
00077
00078 #endif