[fpc-devel] OO rewrite - technical questions

Hans-Peter Diettrich DrDiettrich1 at aol.com
Mon Jul 19 20:33:35 CEST 2010


Michael Schnell schrieb:

> I do know that gcc in Linux on X86  uses a segment register. I don't 
> know how gcc works in Windows, but I suppose even Windows is assumed to 
> restore all register values of a thread  after a preemption.

Windows uses segment registers in exception handling, i.e. it should be 
possible. But the segment descriptor/selector must point to the correct 
thread-memory address in the address space, what can not be achieved in 
application code.

DoDi




More information about the fpc-devel mailing list