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.

-Michael
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to