[fpc-devel] Blackfin support

Florian Klaempfl florian at freepascal.org
Fri Jul 9 15:44:45 CEST 2010


Michael Schnell schrieb:
>  BTW.:
> The v5 workaround code not only is less efficient (doing busy
> splinocks), it also creates potential deadlocks in certain cases
> (realtime priority), is not 100% secure and it might be that certain
> chips even fail handling the swap instruction atomicly and thus the code
> will not work  at all.
> 
> Thus, IMHO,  basing the userland part of Futex on this is not recommended.
> 
> The "common" Linux functions are guaranteed to work decently (with
> Kernel support if necessary) and always are as fast as possible.

Maybe you should write a patch before you have to repeat this for the
next ten years.



More information about the fpc-devel mailing list