2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 14:25:26 +00:00

classifier: Update thread safety notes.

Signed-off-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
Ben Pfaff
2013-09-25 15:38:57 -07:00
parent f67c329519
commit 8ea3791cc4

View File

@@ -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"