Using __kuser_cmpxchg

Andrew Haley aph-gcc@littlepinkcloud.COM
Thu Nov 15 20:59:00 GMT 2007


Nicolas Pitre writes:
 > On Thu, 15 Nov 2007, Andrew Haley wrote:
 > 
 > In the mean time you can work around it by using a mutex around the 
 > thread state modification instead of using cmpxchg on it.  Or if your 
 > platform is ARMv6 or higher then you won't get those spurious false 
 > negatives.

Ah, OK, that's interesting: it sounds like you understand under what
circumstances it may fail "spuriously".  What are these?

Andrew.



More information about the Java mailing list