mirror of
https://github.com/openvswitch/ovs
synced 2025-10-23 14:57:06 +00:00
ovs-thread: Add support for various thread-related assertions.
Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Ethan Jackson <ethan@nicira.com>
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
#include "fatal-signal.h"
|
||||
#include "hash.h"
|
||||
#include "hmap.h"
|
||||
#include "ovs-thread.h"
|
||||
#include "signals.h"
|
||||
#include "unixctl.h"
|
||||
#include "util.h"
|
||||
@@ -297,6 +298,7 @@ time_alarm(unsigned int secs)
|
||||
long long int now;
|
||||
long long int msecs;
|
||||
|
||||
assert_single_threaded();
|
||||
time_init();
|
||||
time_refresh();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user