[fpc-devel] threadvar implementation
Michael Schnell
mschnell at lumino.de
Fri Aug 6 09:51:32 CEST 2010
On 08/06/2010 12:31 AM, Jonas Maebe wrote:
> (but keep in mind that the only reason that intialising/finalising
> threads not started via the FPC rtl now works under Unix is exactly
> because every threadvar access requires a call into a helper routine).
Of course this is why I started the thread. The C compilers seem to work
more efficient on that behalf and thus it might be viable to improve
FPC. To do that the details of how segment registers are used with the
X86/32 architecture in Linux and Windows needs to be thoroughly
understood. (In fact I still don't know how the compiler should
construct a pointer to a threadvar in Linux).
-Michael
More information about the fpc-devel
mailing list