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

mclautolock.h

Go to the documentation of this file.
00001 /********************************************************************
00002        Copyright (c) 2001, Lee Patterson & Ant Works Software
00003        http://ssobjects.sourceforge.net
00004 
00005        Original source from Win32 Multithreaded Programming
00006        Copyright (c) 1997 by Aaron Michael Cohen and Mike Woodring
00007 
00008        filename :  mclautolock.h
00009        author   :  Lee Patterson (lee@antws.com)
00010 *********************************************************************/
00011 
00012 #ifndef __CMCLAUTOLOCK_H__
00013 #define __CMCLAUTOLOCK_H__
00014 
00015 //#include "mclmutex.h"
00016 #include "mclcritsec.h"
00017 
00018 namespace ssobjects
00019 {
00020 
00021 class CMclAutoLock 
00022 {
00023   private:
00024     //CMclMutex *m_pcMutex;
00025     CMclCritSec *m_pcCritSec;
00026 
00027   public:
00028     // constructors...
00029     //CMclAutoLock( CMclMutex & rCMclMutex);
00030     CMclAutoLock( CMclCritSec & rCMclCritSec);
00031 
00032     // destructor...
00033     ~CMclAutoLock(void);
00034 
00035   private:
00036     //unused overloads
00037     CMclAutoLock(const CMclAutoLock&);  
00038     CMclAutoLock& operator=(const CMclAutoLock&);
00039 };
00040 
00041 };
00042 
00043 #endif
00044 

Generated on Thu Nov 8 12:39:25 2001 for SimpleServerObjects by doxygen1.2.11 written by Dimitri van Heesch, © 1997-2001