From 8ea3791cc48cdfa477ae42ad0eb5e4fb2bf0ce5d Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 25 Sep 2013 15:38:57 -0700 Subject: [PATCH] classifier: Update thread safety notes. Signed-off-by: Ben Pfaff --- lib/classifier.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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" -- 2.43.0