On Wed, Apr 01, 2015 at 05:21:08PM +0100, Daniele Di Proietto wrote:
> Minor issue: the compilers I’ve tried (GCC 4.9, 4.8 clang 3.5 and sparse
> 0.4.5) do not report a warning if I try to access atomic variables without
> atomic function.  Maybe someone can confirm this?

Yeah, those versions of GCC and Clang actually turn atomic variable
access without use of atomic functions into implicit seq_cst accesses,
and sparse is so limited that we just implement atomics as bare
variables for it.  It's not ideal.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to