#include <fixmem.h>
Public Member Functions | |
CCMallocCriticalSection () | |
~CCMallocCriticalSection () | |
Static Public Member Functions | |
static void | Init () |
static void | DeInit () |
Private Attributes | |
DWORD | Temp |
Static Private Attributes | |
static CRITICAL_SECTION | sm_Section |
static BOOL | sm_bInit = FALSE |
Definition at line 140 of file fixmem.h.
|
Definition at line 143 of file fixmem.h. 00144 { 00145 #ifdef RALPH 00146 Temp = 0; 00147 ::EnterCriticalSection(&sm_Section); 00148 #endif 00149 }
|
|
Definition at line 151 of file fixmem.h. 00152 { 00153 #ifdef RALPH 00154 ::LeaveCriticalSection(&sm_Section); 00155 #endif 00156 }
|
|
Definition at line 169 of file fixmem.h. 00170 { 00171 #ifdef RALPH 00172 if (sm_bInit) 00173 { 00174 ::DeleteCriticalSection(&sm_Section); 00175 sm_bInit = FALSE; 00176 } 00177 #endif 00178 }
|
|
Definition at line 158 of file fixmem.h. 00159 { 00160 #ifdef RALPH 00161 if (!sm_bInit) 00162 { 00163 ::InitializeCriticalSection(&sm_Section); 00164 sm_bInit = TRUE; 00165 } 00166 #endif 00167 }
|
|
|
|
|
|
|