[PATCH] Add atomic operations required by the new condition variable.
Torvald Riegel
triegel@redhat.com
Thu May 26 13:22:00 GMT 2016
This adds just a few atomic operations required by the new condvar. Our
policy is to add atomic operations as needed, and this patch does just
that.
Tested on x86-linux and x86_64-linux using the new condvar.
2016-05-26 Torvald Riegel <triegel@redhat.com>
* include/atomic.h (atomic_exchange_relaxed, atomic_fetch_and_relaxed,
atomic_fetch_and_release, atomic_fetch_or_release,
atomic_fetch_xor_release): New.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: condvar-atomics.patch
Type: text/x-patch
Size: 4715 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20160526/919e75c1/attachment.bin>
More information about the Libc-alpha
mailing list