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:
@@ -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"
|
||||
|
Reference in New Issue
Block a user