barrier/mt/CLock.h
2002-06-10 22:06:45 +00:00

23 lines
293 B
C++

#ifndef CLOCK_H
#define CLOCK_H
class CMutex;
class CCondVarBase;
class CLock {
public:
CLock(const CMutex* mutex);
CLock(const CCondVarBase* cv);
~CLock();
private:
// not implemented
CLock(const CLock&);
CLock& operator=(const CLock&);
private:
const CMutex* m_mutex;
};
#endif