[fpc-devel] threadvar implementation

Michael Schnell mschnell at lumino.de
Fri Aug 6 13:59:00 CEST 2010


  OK all points taken.

The pthread-library is used to manage the pointers to the base of the 
threadvar block. (Same of course does use the GS: stuff on Linux-X86/32 
to manage it's own thread specific storage.)

Besides the performance argument, the original argument that triggered 
the discussion was that somebody suggested that it would be a good idea 
to get rid of the libc (and thus pthreadlib) dependency.

-Michael



More information about the fpc-devel mailing list