On 07/20/2010 01:42 PM, Florian Klaempfl wrote:
At least Win32: accessing the tlb via fs does not work for all windows
with one approach.

According to Stevens Post using the "Thread Information block" which is addressed by FS is documented and thus needs to be working for 256 TLS-Slots (whatever that means) in NT (and supposedly higher). Who cares about Win9x :) .

No idea about Win64.

BTW what about GS ? If same is just restored after preemption, this could be used by the compiler to point to the Threadvar area.

-Michael
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to