On 08/06/18 11:33, Mateusz Guzik wrote:
This code is seriously inferior to atomic_fcmpset_long, which happens to
return the found value just like the linux atomic_long_cmpxchg would.

The atomic_cmpset_* primitives should not be used if the target value is to
be inspected.

Hi,

The LinuxKPI has already has few places of atomic_cmpset_* currently.

Can I assume that atomic_fcmpset_* is available for all platforms where atomic_cmpset_* is available?

--HPS
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to