Changeset 374 for trunk/Include/Classes/System
- Timestamp:
- Nov 10, 2007, 11:20:01 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Include/Classes/System/Threading/Thread.ab
r330 r374 28 28 name As String 29 29 30 isThrowing As Boolean 31 throwingParamObject As Object 32 30 33 Public 31 34 Sub Thread() … … 37 40 38 41 name = "sub thread" 42 43 isThrowing = False 44 throwingParamObject = Nothing 39 45 End Sub 40 46 Sub Thread(fp As PTHREAD_START_ROUTINE, args As VoidPtr) … … 47 53 48 54 name = "sub thread" 55 56 isThrowing = False 57 throwingParamObject = Nothing 49 58 End Sub 50 59 … … 57 66 58 67 name = "sub thread" 68 69 isThrowing = False 70 throwingParamObject = Nothing 59 71 End Sub 60 72 … … 64 76 65 77 name = "sub thread" 78 79 isThrowing = False 80 throwingParamObject = Nothing 66 81 End Sub 67 82 … … 163 178 Function __SetContext(ByRef Context As CONTEXT) As BOOL 164 179 Return SetThreadContext(m_hThread,Context) 180 End Function 181 182 Sub __Throw( ex As Object ) 183 isThrowing = True 184 throwingParamObject = ex 185 End Sub 186 Sub __Catched() 187 isThrowing = False 188 throwingParamObject = Nothing 189 End Sub 190 Function __IsThrowing() As Boolean 191 Return isThrowing 192 End Function 193 Function __GetThrowintParamObject() As Object 194 Return throwingParamObject 165 195 End Function 166 196
Note:
See TracChangeset
for help on using the changeset viewer.