Changeset 493
- Timestamp:
- Mar 23, 2008, 11:08:56 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Include/Classes/System/Threading/Thread.ab
r480 r493 94 94 ' Public Properties 95 95 '----------------------- 96 96 Function IsAlive() As Boolean 97 Dim code As DWord 98 GetExitCodeThread(m_hThread,code) 99 If code=STILL_ACTIVE Then 100 Return True 101 Else 102 Return False 103 End If 104 End Function 97 105 98 106 'Priority Property … … 155 163 156 164 '自身のスレッドハンドルを閉じる 157 CloseHandle( m_hThread)165 CloseHandle(InterlockedExchangePointer(VarPtr(m_hThread),NULL)) 158 166 m_hThread=0 159 167
Note:
See TracChangeset
for help on using the changeset viewer.