00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef zz_win_threadmutex_h
00010 #define zz_win_threadmutex_h 1
00011
00012 #include <windows.h>
00013 #include <zz_threadmutex.h>
00014 #include <zz_export.h>
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029 class ZZ_API CzzWinThreadMutex : public CzzThreadMutex
00030 {
00031
00032 public:
00033
00034
00035 CzzWinThreadMutex();
00036
00037
00038 virtual ~CzzWinThreadMutex();
00039
00040
00041 virtual bool Acquire( bool block
00042 );
00043
00044
00045 virtual void Release();
00046
00047 protected:
00048
00049 CRITICAL_SECTION m_Sem;
00050 };
00051
00052 #endif
00053
00054