X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu-bp.h;h=21fe66a8a15e78d784c349a376af5e6d2b6e7bb2;hp=d92fbd1755047cc8cb446f9ec568d6b332f29a16;hb=bf33aaea06cbf8257cc49c38abca6d26c0c31c78;hpb=4cf1675fa5feb3a2e9e9f965e516e55fbf411457 diff --git a/urcu-bp.h b/urcu-bp.h index d92fbd1..21fe66a 100644 --- a/urcu-bp.h +++ b/urcu-bp.h @@ -46,6 +46,8 @@ extern "C" { #endif +#include "urcu-bp-map.h" + /* * Important ! * @@ -69,8 +71,8 @@ extern "C" { * * Mark the beginning and end of a read-side critical section. */ -#define rcu_read_lock() _rcu_read_lock() -#define rcu_read_unlock() _rcu_read_unlock() +#define rcu_read_lock_bp _rcu_read_lock +#define rcu_read_unlock_bp _rcu_read_unlock #else /* !_LGPL_SOURCE */ @@ -115,4 +117,7 @@ static inline void rcu_init(void) } #endif +#include "urcu-call-rcu.h" +#include "urcu-defer.h" + #endif /* _URCU_BP_H */