[fpc-devel] OO rewrite - technical questions

Hans-Peter Diettrich DrDiettrich1 at aol.com
Sun Jul 25 10:22:01 CEST 2010

Nikolai Zhubr schrieb:
> 24.07.2010 19:46, Hans-Peter Diettrich:
>>> MOV EAX,TlsIndex
>>> MOV EDX,FS:tlsArray
>> 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 


More information about the fpc-devel mailing list