My Project
D:/source/c++/Programme/sally/sally/sallyAPI/CritSection.h
Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 
00022 
00023 
00024 
00025 
00026 
00027 
00028 #pragma once
00029 #include <windows.h>
00030 #include "Define.h"
00031 
00032 namespace SallyAPI
00033 {
00034         namespace System
00035         {
00044 
00045                 class DLL_API_SALLY CCritSection
00046                 {
00047                 private:
00048                         CRITICAL_SECTION        m_CritSec;
00049                 public:
00050                         CCritSection();
00051                         ~CCritSection();
00052 
00053                         void Lock();
00054                         void Unlock();
00055                 };
00056         }
00057 }
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines