On 06/24/2010 10:10 AM, Daniël Mantione wrote: > > Yes, but in a multi-cpu system giving up the timeslice is a very bad > idea, because the lock might be released a few clock cycles later by > the other cpu; you would waste the rest of time slice while you could > be crunching Of course you are right. But this code is only used for ARM lower than v6 (ARMV6 provides ldrx which is fine, anyway). Are there really multi-CPU ARMv5 or even ARMv4 systems ? They would work decently with the sleep; I don't think it's relevant to optimize the RTL code for those.
-Michael _______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel
