clang: Add annotations for thread safety check.
authorEthan Jackson <ethan@nicira.com>
Tue, 30 Jul 2013 22:31:48 +0000 (15:31 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 31 Jul 2013 04:30:45 +0000 (21:30 -0700)
commit97be153858b4cd175cbe7862b8e1624bf22ab98a
treeab1e518bef4e8bbc97fe8a069d9b91541bb9c4d4
parent2b51596fdeba7fbf4caff323dd6af375e7f84596
clang: Add annotations for thread safety check.

This commit adds annotations for thread safety check. And the
check can be conducted by using -Wthread-safety flag in clang.

Co-authored-by: Alex Wang <alexw@nicira.com>
Signed-off-by: Alex Wang <alexw@nicira.com>
Signed-off-by: Ethan Jackson <ethan@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
25 files changed:
INSTALL
configure.ac
include/sparse/pthread.h
lib/command-line.c
lib/compiler.h
lib/dpif-linux.c
lib/dpif-netdev.c
lib/dpif.c
lib/fatal-signal.c
lib/jsonrpc.c
lib/lockfile.c
lib/netdev-dummy.c
lib/netlink-socket.c
lib/ofp-msgs.c
lib/ofp-parse.c
lib/ovs-atomic-gcc4+.c
lib/ovs-atomic-pthreads.c
lib/ovs-atomic-pthreads.h
lib/ovs-thread.c
lib/ovs-thread.h
lib/timeval.c
lib/uuid.c
lib/vlog.c
lib/vlog.h
vswitchd/system-stats.c