Changeset 170 for Include/system/gc.sbp
- Timestamp:
- Mar 16, 2007, 10:01:14 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Include/system/gc.sbp
r144 r170 19 19 Const _System_GC_FLAG_INITZERO = 4 20 20 Const _System_GC_FLAG_OBJECT = 8 21 22 Const THREAD_GET_CONTEXT = &H000823 21 24 22 Class _System_CGarbageCollection … … 122 120 End Sub 123 121 124 Sub add(new_ptr As VoidPtr, size As SIZE_T, flags As DWord)122 Sub add(new_ptr As VoidPtr, size As SIZE_T, flags As DWord) 125 123 iAllSize+=size 126 124 … … 239 237 If pbMark[index]=0 Then 240 238 pbMark[index]=1 241 239 242 240 If (pdwFlags[index] and _System_GC_FLAG_ATOMIC)=0 Then 243 241 'ヒープ領域がポインタ値を含む可能性があるとき 244 242 If ppPtr[index] = 0 Then 245 243 'エラー 246 244 247 245 End If 248 246 Scan(ppPtr[index] As *LONG_PTR,pSize[index],pbMark) … … 426 424 OutputDebugString( Ex"Object dump complete.\r\n" ) 427 425 End If 428 426 429 427 End Sub 430 428
Note:
See TracChangeset
for help on using the changeset viewer.