From: Ben Pfaff <blp@nicira.com>
Date: Wed, 25 Sep 2013 22:38:57 +0000 (-0700)
Subject: classifier: Update thread safety notes.
X-Git-Tag: sliver-openvswitch-2.0.90-1~6^2~4
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=8ea3791cc48cdfa477ae42ad0eb5e4fb2bf0ce5d;p=sliver-openvswitch.git

classifier: Update thread safety notes.

Signed-off-by: Ben Pfaff <blp@nicira.com>
---

diff --git a/lib/classifier.h b/lib/classifier.h
index 671bc8052..6f8c186d4 100644
--- a/lib/classifier.h
+++ b/lib/classifier.h
@@ -98,10 +98,8 @@
  * Thread-safety
  * =============
  *
- * When locked properly, the classifier is thread safe as long as the following
- * conditions are satisfied.
- * - Only the main thread calls functions requiring a write lock.
- * - Only the main thread is allowed to iterate over rules. */
+ * The classifier may safely be accessed by many reader threads concurrently or
+ * by a single writer. */
 
 #include "flow.h"
 #include "hmap.h"