summaryrefslogtreecommitdiffstats
path: root/sysdep/unix
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-02-11 23:51:15 +0100
committerMartin Mares <mj@ucw.cz>1999-02-11 23:51:15 +0100
commit14dea0ed25cd0385ce35cf66ff309a78960b18ca (patch)
tree8f1edb787afec19cd7d095f03568a9e96b567c4e /sysdep/unix
parent64011f898c1bc99183a57f21d6e099c8f4496a09 (diff)
downloadbird-14dea0ed25cd0385ce35cf66ff309a78960b18ca.tar
bird-14dea0ed25cd0385ce35cf66ff309a78960b18ca.zip
Run the event queue before writing SIGUSR dumps.
Diffstat (limited to 'sysdep/unix')
-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 96e6cf9..d49b6f0 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");