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

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

Reply via email to