Changeset 202
- Timestamp:
- Apr 4, 2007, 5:21:21 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Include/system/gc.sbp
r171 r202 198 198 199 199 Sub sweep() 200 If i AllSize<limitMemorySize Then200 If isSweeping <> False Or iAllSize<limitMemorySize Then 201 201 'メモリ使用量が上限値を超えていないとき 202 202 Exit Sub 203 203 End If 204 204 isSweeping = True 205 205 OutputDebugString( Ex"garbage colletion sweep start!\r\n" ) 206 206 … … 210 210 WaitForSingleObject(hThread,INFINITE) 211 211 CloseHandle(hThread) 212 isSweeping = False 212 213 End Sub 213 214 … … 347 348 EnterCriticalSection(CriticalSection) 348 349 350 If isSweeping <> False Or iAllSize<limitMemorySize Then 351 ExitThread(0) 352 End If 353 349 354 ' すべてのスレッドを一時停止 350 355 _System_pobj_AllThreads->SuspendAllThread()
Note:
See TracChangeset
for help on using the changeset viewer.