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
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel