[fpc-devel] OO rewrite - technical questions

Hans-Peter Diettrich DrDiettrich1 at aol.com
Sat Jul 24 17:46:07 CEST 2010


Nikolai Zhubr schrieb:

> where GetTls in case of an ordinary application (not dll) is just this:
> 
>         MOV     EAX,TlsIndex
>         MOV     EDX,FS:tlsArray
>         MOV     EAX,[EDX+EAX*4]

I wonder what TlsIndex here is?

Also FS:tlsArray seems to contain an address in the general address 
space, so that only the tlsArray seems to vary across threads? I had 
thought that TlsIndex also should vary accross threads.

DoDi




More information about the fpc-devel mailing list