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


_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to