Changeset 424 for trunk/Packages/Common/UThreading.pas
- Timestamp:
- Apr 25, 2022, 6:22:53 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/Common/UThreading.pas
r423 r424 4 4 5 5 uses 6 Classes, SysUtils, Forms, fgl, SyncObjs;6 Classes, SysUtils, Forms, Generics.Collections, SyncObjs; 7 7 8 8 type 9 9 TExceptionEvent = procedure (Sender: TObject; E: Exception) of object; 10 10 TMethodCall = procedure of object; 11 12 11 13 12 { TVirtualThread } … … 100 99 { TThreadList } 101 100 102 TThreadList = class(T FPGObjectList<TVirtualThread>)101 TThreadList = class(TObjectList<TVirtualThread>) 103 102 function FindById(Id: TThreadID): TVirtualThread; 104 103 constructor Create; virtual; … … 359 358 ThreadListLock := TCriticalSection.Create; 360 359 ThreadList := TThreadList.Create; 361 ThreadList. FreeObjects := False;360 ThreadList.OwnsObjects := False; 362 361 363 362 finalization
Note:
See TracChangeset
for help on using the changeset viewer.