I have a class where its instances are shared between multiple threads. How can I declare one variable per instance per thread?
The code below does not compile (fpc 3.0.0): TMyClass = class public threadvar MyValue: Integer; end; Regards
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal