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

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


Hi David,

* David Xu <listlog2011 at gmail.com>, 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?

Greetings,
-- 
 Ed Schouten <ed at 80386.nl>
 WWW: http://80386.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-all/attachments/20120119/ef8d4200/attachment.pgp


More information about the svn-src-all mailing list