Hi David,

* David Xu <listlog2...@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 <e...@80386.nl>
 WWW: http://80386.nl/

Attachment: pgpDC3F3wL7nx.pgp
Description: PGP signature

Reply via email to