[fpc-devel] volatile variables

Nikolai Zhubr n-a-zhubr at yandex.ru
Wed Jun 29 17:41:23 CEST 2011


29.06.2011 19:57, Hans-Peter Diettrich:
[...]
> imply that in detail all application specific
> objects must be either local to an thread, or must be protected against
> concurrent access (shareable)?
IMHO yes.

[...]
> Possibly the language could be extended to help in the determination of
> thread-(un)safe procedures. E.g. references to shareable objects could
Well yes, but its probably hard to inject such safety into a general 
purpose language. After all, pointers are not quite safe even in a 
single-threaded application!

Nikolai



More information about the fpc-devel mailing list