Reputation: 11768
I am making heavy computations so i need to use a TStringList in a separate thread. Does XE2 has a special class defined for this because i thought it had if not what are my options.
Upvotes: 2
Views: 428
Reputation: 596156
Indy ships with Delphi and has its own TIdThreadSafeStringList
class available in the IdThreadSafe.pas
unit. It also has several other TIdThreadSafe...
classes available for Integer
, Cardinal
, Int64
, String
, TDateTime
, and Double
.
Upvotes: 1