mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
x2t (not complete)
This commit is contained in:
@ -52,6 +52,19 @@ namespace NSCriticalSection
|
||||
void Enter();
|
||||
void Leave();
|
||||
};
|
||||
|
||||
class KERNEL_DECL CRITICAL_SECTION_SMART
|
||||
{
|
||||
private:
|
||||
CRITICAL_SECTION* m_pCS;
|
||||
|
||||
public:
|
||||
CRITICAL_SECTION_SMART();
|
||||
~CRITICAL_SECTION_SMART();
|
||||
|
||||
void Enter();
|
||||
void Leave();
|
||||
};
|
||||
}
|
||||
|
||||
class KERNEL_DECL CTemporaryCS
|
||||
|
||||
Reference in New Issue
Block a user