[fpc-devel] embedded arm port

Michael Schnell mschnell at lumino.de
Tue Sep 15 11:36:03 CEST 2009


Micha Nelissen wrote:
> You could pass a pointer to this stack variable to another
> thread which could write to it asynchronously to your thread.

Ah, I see. Thanks for the enlightenment !

This might cause problem with FPC/Delphi. All local variables that are
referenced with a pointer of course will be placed on the stack instead
of in a register. But with this paradigm they would need to be handled
as volatiles. Seems like slowing down things too much....

-Michael



More information about the fpc-devel mailing list