Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2022-12

Generic threadlist

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Andrew Haines

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

Reply by email