summaryrefslogtreecommitdiff
path: root/sysdep
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-02-11 22:51:15 +0000
committerMartin Mares <mj@ucw.cz>1999-02-11 22:51:15 +0000
commit14dea0ed25cd0385ce35cf66ff309a78960b18ca (patch)
tree8f1edb787afec19cd7d095f03568a9e96b567c4e /sysdep
parent64011f898c1bc99183a57f21d6e099c8f4496a09 (diff)
Run the event queue before writing SIGUSR dumps.
Diffstat (limited to 'sysdep')
-rw-r--r--sysdep/unix/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdep/unix/main.c b/sysdep/unix/main.c
index 96e6cf91..d49b6f00 100644
--- a/sysdep/unix/main.c
+++ b/sysdep/unix/main.c
@@ -15,6 +15,7 @@
#include "lib/lists.h"
#include "lib/resource.h"
#include "lib/socket.h"
+#include "lib/event.h"
#include "nest/route.h"
#include "nest/protocol.h"
#include "nest/iface.h"
@@ -113,6 +114,7 @@ main(void)
protos_start();
+ ev_run_list(&global_event_list);
handle_sigusr(0);
debug("Entering I/O loop.\n");