Multi threading support was Re: [fpc-devel] Russian locale information not compatible withFPClocale variables

Florian Klaempfl florian at freepascal.org
Thu Jul 31 12:23:47 CEST 2008


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.



More information about the fpc-devel mailing list