[fpc-pascal] Generic threadlist

Andrew Haines andrewd207 at aol.com
Fri Dec 30 18:32:09 CET 2022


Hi, I made a generic threadlist for the unit fgl. I'm wondering what is 
the opinion on stuff like that. Specifically it's T: TObject and not for 
"pointers." I had made both TFPGThreadList and TFPGObjectThreadList and 
I thought afterwards only TFPGThreadList is needed and it should hold 
TObjects.

If I implement both, should the TThreadList in classes be declared as 
Specialize TFPGThreadList<Pointer>? I noticed the fgl unit is not 
included in classes.

What kind of things should be added to fgl if any?

Thanks

Andrew




More information about the fpc-pascal mailing list