[fpc-devel] Comparison FPC 2.6.2 - Delphi 7

Sven Barth pascaldragon at googlemail.com
Wed Mar 6 13:43:21 CET 2013


Am 06.03.2013 11:45, schrieb Florian Klaempfl:
>
>> Conclusion:
>>
>> With FPC, the optimization of threadvar access is not necessary. Instead
>> it is highly recommended to always use thread specific instances of the
>> classes that do the threaded work. TThread of course provides this out
>> of the box.
>>
>
> And how does one the "current" TThread?
Since a few weeks: TThread.CurrentThread ;)

Regards,
Sven



More information about the fpc-devel mailing list