Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 244 | chris | 1 | #ifndef _H_CritSect |
| 2 | #define _H_CritSect |
||
| 3 | |||
| 4 | #include "Common.h" |
||
| 5 | |||
| 6 | class CritSync; |
||
| 7 | |||
| 8 | namespace Sexy |
||
| 9 | { |
||
| 10 | |||
| 11 | class CritSect |
||
| 12 | { |
||
| 13 | private: |
||
| 14 | CRITICAL_SECTION mCriticalSection; |
||
| 15 | friend class AutoCrit; |
||
| 16 | |||
| 17 | public: |
||
| 18 | CritSect(void); |
||
| 19 | ~CritSect(void); |
||
| 20 | }; |
||
| 21 | |||
| 22 | } |
||
| 23 | |||
| 24 | #endif // _H_CritSect |