Martin Friebe wrote:
IMHO per class may create some problems? but maybe I am just overlooking
something?
TBar =class( TFoo ) end synchronized class;
Let's say TFoo was declared in another unit, and TFoo was not declared
Synchronized. Then TFoo code can be entered by anyone at any time.
Even if a thread is in TBar. How would one make sure, that a base class,
knows about all classes that inherit from it?
Why does it need to know? Base classes can't access the fields of
inherited classes anyway.
Micha
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel