Changeset 89 for branches/DirectWeb/UResetableThread.pas
- Timestamp:
- Dec 18, 2009, 1:42:22 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DirectWeb/UResetableThread.pas
r88 r89 69 69 begin 70 70 Stopped := True; 71 StartEvent := TEvent.Create(nil, False, False, ' TResetableThreadStart');72 StopEvent := TEvent.Create(nil, False, False, ' TResetableThreadStop');71 StartEvent := TEvent.Create(nil, False, False, ''); 72 StopEvent := TEvent.Create(nil, False, False, ''); 73 73 Thread := TResetableThreadExecute.Create(True); 74 74 Thread.Parent := Self; … … 94 94 Parent.Stopped := False; 95 95 Parent.Execute; 96 Parent.Stopped := True; 96 97 Parent.StopEvent.SetEvent; 97 98 end;
Note:
See TracChangeset
for help on using the changeset viewer.