ovs-thread: Mark lock and unlock functions as no_thread_safety_analysis.
authorBen Pfaff <blp@nicira.com>
Wed, 21 Aug 2013 18:24:49 +0000 (11:24 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 22 Aug 2013 16:41:48 +0000 (09:41 -0700)
commitda2035617fc39caf2efb02916db684cafa679c96
tree346957b9c12cd31c2b92f6bfa4dd21cc5f1a7f74
parent0d56eaf2e00b9d0e4d9cbc5d5b360191e5c16ded
ovs-thread: Mark lock and unlock functions as no_thread_safety_analysis.

I don't see any other way to make Clang realize that these are the real
mutex implementation functions.

I first noticed these warnings with Clang 1:3.4~svn188890-1~exp1.
I previously used version 1:3.4~svn187484-1~exp1.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Ethan Jackson <ethan@nicira.com>
lib/compiler.h
lib/ovs-thread.c