summaryrefslogblamecommitdiffstats
path: root/source/cCriticalSection.h
blob: fd1d34e4642f993741a2ce50878037580d865485 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16















                                                                            
#pragma once

class cCriticalSection
{
public:
	cCriticalSection();
	~cCriticalSection();

	void Lock();
	void Unlock();
private:
	void* m_CriticalSectionPtr; // Pointer to a CRITICAL_SECTION object
#ifndef _WIN32
	void* m_Attributes;
#endif
};