diff options
author | Maria Matejka <mq@ucw.cz> | 2021-11-12 22:58:40 +0100 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2022-08-02 10:00:21 +0200 |
commit | 058ed711397df75350d905fc135758a6470c0143 (patch) | |
tree | cb779bc2414645de59b2d80f9b08bbe58772f8d1 /lib/resource.c | |
parent | f1d6c66a78758449f00ed709891e24ab3571cc9c (diff) |
Introducing basic RCU primitives for lock-less shared data structures
Diffstat (limited to 'lib/resource.c')
-rw-r--r-- | lib/resource.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/resource.c b/lib/resource.c index a33fd214..898fb533 100644 --- a/lib/resource.c +++ b/lib/resource.c @@ -14,6 +14,7 @@ #include "nest/bird.h" #include "lib/resource.h" #include "lib/string.h" +#include "lib/rcu.h" /** * DOC: Resource pools @@ -279,6 +280,7 @@ void resource_init(void) { resource_sys_init(); + rcu_init(); root_pool.r.class = &pool_class; root_pool.name = "Root"; |