Micha Nelissen schrieb:
Florian Klaempfl wrote:
Michael Schnell schrieb:
Now you suggest that all procedures an instance of this kind of class
are protected and thus thread-safe by definition.
They aren't but it makes things easier. Just look at the linux kernel:
it's smp support started also with BKL: the Big Kernel Lock
That's not so good example since now it's almost gone. That suggests
this synchronized keyword would be deprecated in a few years as well ;-)
Come one, it's not that hard to understand :): synchronized might allow
the same way of working: first, you work with big locks, later to add
more fine granulated ones.
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel