// Declaration
CRITICAL_SECTION CriticalSection;
// Initialize
::InitializeCriticalSection(&CriticalSection);
// Implementation
::EnterCriticalSection(&CriticalSection);
/* Code block */
::LeaveCriticalSection(&CriticalSection);
// Uninitialize
::DeleteCriticalSection(&CriticalSection);
Android 專用版 Facebook 推出更新版 1.6.0
13 years ago