Nikolai Zhubr schrieb:
24.07.2010 19:46, Hans-Peter Diettrich:
MOV EAX,TlsIndex
MOV EDX,FS:tlsArray
MOV EAX,[EDX+EAX*4]
I wonder what TlsIndex here is?
tlsArray = $2C;
IIRC for an application (not a dll) TlsIndex is always 0
(But I might be wrong here though)
The main thread may have an index of zero, but every other thread can
have an different index. This can be tested or debugged only with real
threads.
DoDi
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel