diff options
author | Ben Pfaff <blp@nicira.com> | 2013-08-06 09:39:10 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2013-08-10 20:48:58 -0700 |
commit | 55b403558b3525108c72846db2cf09fda59bb22b (patch) | |
tree | 03b66c051070efeb1995978f19ce57bfbd9a19eb /lib/poll-loop.c | |
parent | 4f9f3f21355bee59abddf6276a0a8bfbe15d2b87 (diff) |
seq: New module for race-free, pollable, thread-safe sequence number.
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Andy Zhou <azhou@nicira.com>
Diffstat (limited to 'lib/poll-loop.c')
-rw-r--r-- | lib/poll-loop.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/poll-loop.c b/lib/poll-loop.c index 5f9b9cdf..4eb11870 100644 --- a/lib/poll-loop.c +++ b/lib/poll-loop.c @@ -26,6 +26,7 @@ #include "fatal-signal.h" #include "list.h" #include "ovs-thread.h" +#include "seq.h" #include "socket-util.h" #include "timeval.h" #include "vlog.h" @@ -248,6 +249,8 @@ poll_block(void) /* Handle any pending signals before doing anything else. */ fatal_signal_run(); + + seq_woke(); } static void |