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

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


Micha Nelissen schrieb:
> Florian Klaempfl wrote:
>> Further, it allows an additional symbol to be given
>>
>> procedure p;synchronized mycriticialsection;
>>
>> Any suggestions about doing it better?
> 
> How to avoid deadlocks?

Indeed, I'am open to any suggestions :) Just an idea: maybe a global 
call tree analysis with a call tree attributed with critical section 
information can find potential deadlocks?

> If a synchronized class is calling another 
> synchronized class ... :-S.



More information about the fpc-devel mailing list