diff options
Diffstat (limited to 'osframework/source/SexyAppFramework/CritSect.h')
-rw-r--r-- | osframework/source/SexyAppFramework/CritSect.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/osframework/source/SexyAppFramework/CritSect.h b/osframework/source/SexyAppFramework/CritSect.h new file mode 100644 index 0000000..d6e7100 --- /dev/null +++ b/osframework/source/SexyAppFramework/CritSect.h @@ -0,0 +1,24 @@ +#ifndef _H_CritSect
+#define _H_CritSect
+
+#include "Common.h"
+
+class CritSync;
+
+namespace Sexy
+{
+
+class CritSect
+{
+private:
+ CRITICAL_SECTION mCriticalSection;
+ friend class AutoCrit;
+
+public:
+ CritSect(void);
+ ~CritSect(void);
+};
+
+}
+
+#endif // _H_CritSect
|