- Timestamp:
- Jul 13, 2008, 2:57:57 PM (16 years ago)
- Location:
- trunk/ab5.0
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/ablib/src/Classes/System/Threading/Thread.ab
r536 r546 178 178 Sub Start() 179 179 Dim pfn = AddressOf(_run) As LONG_PTR 180 m_hThread=CreateThread(NULL,0,pfn As LPTHREAD_START_ROUTINE, VarPtr(This),CREATE_SUSPENDED,m_dwThreadId)180 m_hThread=CreateThread(NULL,0,pfn As LPTHREAD_START_ROUTINE,ObjPtr(This),CREATE_SUSPENDED,m_dwThreadId) 181 181 SetThreadPriority(m_hThread,m_Priority) 182 182 This.Resume() -
trunk/ab5.0/ablib/src/system/gc.sbp
r527 r546 86 86 _stscanf( temporary, "%08x", VarPtr( _System_pGC ) ) 87 87 MessageBox(0,temporary,"GetEnvironmentVariable",0) 88 89 ' TODO: 88 90 Else 89 91 _System_pGC = _System_calloc( __ClassSizeOf( _System_CGarbageCollection ) ) … … 421 423 Dim hThread As HANDLE 422 424 Dim ThreadId As DWord 423 hThread=_beginthreadex(NULL,0,AddressOf(SweepOnOtherThread), VarPtr(This),0,ThreadId)425 hThread=_beginthreadex(NULL,0,AddressOf(SweepOnOtherThread),ObjPtr(This),0,ThreadId) 424 426 WaitForSingleObject(hThread,INFINITE) 425 427 CloseHandle(hThread)
Note:
See TracChangeset
for help on using the changeset viewer.