X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=urcu-bp.c;h=543a9f3ae01775b18008e4e2140513116bd2e781;hb=4c1ae2ea760611f4d2b658b4e6b374f597c1c1f9;hp=04bb6756a2bbe5aa8603c0ed148eae8c95a6be23;hpb=4cf1675fa5feb3a2e9e9f965e516e55fbf411457;p=urcu.git diff --git a/urcu-bp.c b/urcu-bp.c index 04bb675..543a9f3 100644 --- a/urcu-bp.c +++ b/urcu-bp.c @@ -35,10 +35,16 @@ #include #include -#include "urcu-bp-static.h" +#include "urcu/map/urcu-bp.h" + +#include "urcu/static/urcu-bp.h" /* Do not #define _LGPL_SOURCE to ensure we can emit the wrapper symbols */ #include "urcu-bp.h" +#ifndef MAP_ANONYMOUS +#define MAP_ANONYMOUS MAP_ANON +#endif + /* Sleep delay in us */ #define RCU_SLEEP_DELAY 1000 #define ARENA_INIT_ALLOC 16 @@ -375,3 +381,6 @@ void rcu_bp_after_fork_child(void) ret = pthread_sigmask(SIG_SETMASK, &oldmask, NULL); assert(!ret); } + +#include "urcu-call-rcu-impl.h" +#include "urcu-defer-impl.h"