aboutsummaryrefslogtreecommitdiff
path: root/lib/ovs-atomic.h
AgeCommit message (Collapse)Author
2013-08-26ovs-atomic: Add native Clang implementation.Ben Pfaff
With this implementation I get warnings with Clang on GNU/Linux when the previous patch is not applied. This ought to make it easier to avoid introducing new problems in the future even without building on FreeBSD. Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
2013-08-21ovs-atomic: Fix typo in comment.Ben Pfaff
Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Ed Maste <emaste@freebsd.org>
2013-07-31configure: Add configure-time check for GCC 4.0+ atomic built-ins.Ben Pfaff
We found out earlier that GCC sometimes produces an error only at link time for atomic built-ins that are not supported on a platform. This actually tries the link at configure time and should thus reliably detect whether the atomic built-ins are really supported. Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Ethan Jackson <ethan@nicira.com>
2013-06-28ovs-atomic: New library for atomic operations.Ben Pfaff
This library should prove useful for the threading changes coming up. The following commit introduces one (very simple) user. Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Ethan Jackson <ethan@nicira.com>