summaryrefslogtreecommitdiff
path: root/sysdep/unix/main.c
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-07-18 11:11:46 +0200
committerMaria Matejka <mq@ucw.cz>2022-07-18 11:11:46 +0200
commit4b6f5ee8709b2fae9da13c58bfbae21b84cd40c5 (patch)
tree988625a78e393d4b5425424b4e0f354c89cdf07a /sysdep/unix/main.c
parent9901ca6fb3683091c7eb424cbba8c7bc94e41cbb (diff)
parenta4451535c69b8f934523905a8131ae2f16be2146 (diff)
Merge commit 'a4451535' into thread-next
Diffstat (limited to 'sysdep/unix/main.c')
-rw-r--r--sysdep/unix/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdep/unix/main.c b/sysdep/unix/main.c
index 07d6c691..8bc07d94 100644
--- a/sysdep/unix/main.c
+++ b/sysdep/unix/main.c
@@ -28,6 +28,7 @@
#include "lib/resource.h"
#include "lib/socket.h"
#include "lib/event.h"
+#include "lib/locking.h"
#include "lib/timer.h"
#include "lib/string.h"
#include "nest/rt.h"
@@ -873,6 +874,7 @@ main(int argc, char **argv)
dmalloc_debug(0x2f03d00);
#endif
+ times_update();
parse_args(argc, argv);
log_switch(1, NULL, NULL);
@@ -927,6 +929,8 @@ main(int argc, char **argv)
dup2(0, 2);
}
+ the_bird_lock();
+
main_thread_init();
write_pid_file();