svn commit: r230201 - head/lib/libc/gen

Ed Schouten ed at
Thu Jan 19 18:09:51 UTC 2012

Hi David,

* David Xu <listlog2011 at>, 20120116 08:53:
> but since atomic.h does not have a full barrier atomic operation
> interface, I intend to add a rmb() here.

In the very nearby future (after I switch SPARC64 and MIPS to
libcompiler_rt), it should be possible to safely use C11's <stdatomic.h>
on all supported architectures. The C11 interface allows any operation
to be combined with any type of barrier.

Maybe we should simply migrate this code to use <stdatomic.h> then?

 Ed Schouten <ed at>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
Url :

More information about the svn-src-all mailing list