00001 /* 00002 $Id: mutex_win32.h,v 1.2 2000/07/15 15:45:55 starch Exp $ 00003 00004 ------------------------------------------------------------------------ 00005 ClanLib, the platform independent game SDK. 00006 00007 This library is distributed under the GNU LIBRARY GENERAL PUBLIC LICENSE 00008 version 2. See COPYING for details. 00009 00010 For a total list of contributers see CREDITS. 00011 00012 ------------------------------------------------------------------------ 00013 */ 00014 00015 #ifndef header_mutex_win32 00016 #define header_mutex_win32 00017 00018 #include "API/Core/System/mutex.h" 00019 #include "API/Core/System/cl_assert.h" 00020 #include <windows.h> 00021 00022 class CL_Mutex_Win32 : public CL_Mutex 00023 { 00024 public: 00025 CL_Mutex_Win32(); 00026 virtual ~CL_Mutex_Win32(); 00027 00028 virtual void enter(); 00029 virtual void leave(); 00030 00031 virtual void wait() { cl_assert(false); } // not implemented 00032 virtual void notify() { cl_assert(false); } // not implemented 00033 virtual void notify_all() { cl_assert(false); } // not implemented 00034 00035 private: 00036 CRITICAL_SECTION mutex; 00037 }; 00038 00039 #endif
1.2.6 written by Dimitri van Heesch,
© 1997-2001