1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Locking subsystem: Just a global BIRD lock to begin with.

This commit is contained in:
Maria Matejka
2021-02-04 15:52:42 +01:00
parent feb17ced23
commit 1db83a507a
7 changed files with 157 additions and 2 deletions

View File

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