ovs-atomic: Add atomic_destroy() and use everywhere it is needed.
authorBen Pfaff <blp@nicira.com>
Wed, 8 Jan 2014 18:42:12 +0000 (10:42 -0800)
committerBen Pfaff <blp@nicira.com>
Thu, 9 Jan 2014 01:13:30 +0000 (17:13 -0800)
commitc5f81b20da9bbf0ac406a88718597a4e84729a98
tree0aedc2ef40e214d0a99135bdd0e94a972fb09d84
parent4597d2a57226eaec787d6501e88ab32f3b6209e1
ovs-atomic: Add atomic_destroy() and use everywhere it is needed.

C11 is able to require that atomics don't need to be destroyed, but some
of the OVS implementations do.

Signed-off-by: Ben Pfaff <blp@nicira.com>
18 files changed:
lib/bfd.c
lib/cfm.c
lib/lacp.c
lib/mac-learning.c
lib/netdev.c
lib/ovs-atomic-clang.h
lib/ovs-atomic-gcc4+.h
lib/ovs-atomic-gcc4.7+.h
lib/ovs-atomic-pthreads.h
lib/ovs-atomic.h
lib/stp.c
ofproto/bond.c
ofproto/netflow.c
ofproto/ofproto-dpif-ipfix.c
ofproto/ofproto-dpif-sflow.c
ofproto/ofproto-dpif-upcall.c
ofproto/ofproto.c
tests/test-atomic.c