diff options
author | Ben Pfaff <blp@nicira.com> | 2013-09-12 17:42:23 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2013-09-12 17:43:55 -0700 |
commit | 050678819a46b12cdbf2021545c61631ce5041e9 (patch) | |
tree | 6b8e60cc499cfa07d02393f7d88bb7628a93e005 /lib/automake.mk | |
parent | a2143702724647df8a9aef570982738dd3721af0 (diff) |
guarded-list: New data structure for thread-safe queue.
We already had queues that were suitable for replacement by this data
structure, and I intend to add another one later on.
flow_miss_batch_ofproto_destroyed() did not work well with the guarded-list
structure (it required either adding a lot more functions or breaking the
abstraction) so I changed the caller to just use udpif_revalidate().
Checking reval_seq at the end of handle_miss_upcalls() also didn't work
well with the abstraction, so I decided that since this was a corner case
anyway it would be acceptable to just drop those in flow_miss_batch_next().
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Ethan Jackson <ethan@nicira.com>
Diffstat (limited to 'lib/automake.mk')
-rw-r--r-- | lib/automake.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/automake.mk b/lib/automake.mk index da1896a2..92cfc13e 100644 --- a/lib/automake.mk +++ b/lib/automake.mk @@ -58,6 +58,8 @@ lib_libopenvswitch_a_SOURCES = \ lib/fatal-signal.h \ lib/flow.c \ lib/flow.h \ + lib/guarded-list.c \ + lib/guarded-list.h \ lib/hash.c \ lib/hash.h \ lib/hindex.c \ |