summaryrefslogtreecommitdiff
path: root/lib/netlink-socket.h
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2013-06-19 11:39:11 -0700
committerBen Pfaff <blp@nicira.com>2013-07-18 13:18:47 -0700
commit0bd01224dcbdabb871e9366799b1647a9a303361 (patch)
tree9f6dd39653117bdd47b81ad5246cd91b35b45fc5 /lib/netlink-socket.h
parenta88b4e04128310d0eb0c3d811782f8619bceb95c (diff)
downloadopenvswitch-0bd01224dcbdabb871e9366799b1647a9a303361.tar.gz
netlink-socket: Make thread-safe.
The uses of vlog in this module are not thread-safe, because vlog itself is not yet thread-safe. Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'lib/netlink-socket.h')
-rw-r--r--lib/netlink-socket.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/netlink-socket.h b/lib/netlink-socket.h
index c77050ee9..986b5740f 100644
--- a/lib/netlink-socket.h
+++ b/lib/netlink-socket.h
@@ -30,6 +30,12 @@
* are Linux-specific. For Netlink protocol definitions, see
* netlink-protocol.h. For helper functions for working with Netlink messages,
* see netlink.h.
+ *
+ *
+ * Thread-safety
+ * =============
+ *
+ * Only a single thread may use a given nl_sock or nl_dump at one time.
*/
#include <stdbool.h>