2
0
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:
Ben Pfaff
2013-06-19 13:07:35 -07:00
parent 1514b27555
commit 728a8b141f
8 changed files with 100 additions and 8 deletions

View File

@@ -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();