Changeset 203 for Include/system/gc.sbp


Ignore:
Timestamp:
Apr 4, 2007, 6:53:48 PM (18 years ago)
Author:
イグトランス (egtra)
Message:

GCHandleの追加、String.Compareなどの追加、gc.sbpの修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Include/system/gc.sbp

    r202 r203  
    139139
    140140    Function __malloc(size As SIZE_T,flags As Byte) As VoidPtr
    141         EnterCriticalSection(CriticalSection)
     141'       EnterCriticalSection(CriticalSection)
    142142            Dim dwFlags As DWord
    143143            If flags and _System_GC_FLAG_INITZERO Then
     
    149149            Dim ptr = HeapAlloc(_System_hProcessHeap,dwFlags,size)
    150150            add( ptr, size, flags )
    151         LeaveCriticalSection(CriticalSection)
     151'       LeaveCriticalSection(CriticalSection)
    152152
    153153        Return ptr
     
    202202            Exit Sub
    203203        End If
    204         isSweeping = True
    205204        OutputDebugString( Ex"garbage colletion sweep start!\r\n" )
    206205
     
    351350            ExitThread(0)
    352351        End If
     352        isSweeping = True
    353353
    354354        ' すべてのスレッドを一時停止
Note: See TracChangeset for help on using the changeset viewer.