diff options
author | Maria Matejka <mq@ucw.cz> | 2021-02-04 15:52:42 +0100 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2021-11-22 19:05:43 +0100 |
commit | 1db83a507a9ae287815d62733d1337074993b433 (patch) | |
tree | c18bab7948e6fd3d1ce6a4ce00f8f2e58b9e9bd6 /sysdep/unix/main.c | |
parent | feb17ced234bad13ae64b52a3f86241f74517997 (diff) |
Locking subsystem: Just a global BIRD lock to begin with.
Diffstat (limited to 'sysdep/unix/main.c')
-rw-r--r-- | sysdep/unix/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdep/unix/main.c b/sysdep/unix/main.c index 7e8ea0dc..dabfc554 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/route.h" @@ -959,6 +960,8 @@ main(int argc, char **argv) dup2(0, 2); } + the_bird_lock(); + main_thread_init(); write_pid_file(); |