X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu-qsbr.h;h=984d70cab45835f7c5da1dad113c7d6b8383e4a4;hp=116fd77146e5b8b04aa780f195ca5c11a34590f5;hb=5e77fc1f94c3572fca067d37667d74f8165e2434;hpb=81ad2e193e8072f8246212d7eaba72769306c2e4 diff --git a/urcu-qsbr.h b/urcu-qsbr.h index 116fd77..984d70c 100644 --- a/urcu-qsbr.h +++ b/urcu-qsbr.h @@ -40,6 +40,8 @@ extern "C" { #endif +#include "urcu-qsbr-map.h" + /* * Important ! * @@ -62,15 +64,15 @@ extern "C" { * rcu_read_unlock() * * Mark the beginning and end of a read-side critical section. - * DON'T FORGET TO USE rcu_register_thread/rcu_unregister_thread() FOR EACH - * THREAD WITH READ-SIDE CRITICAL SECTION. + * DON'T FORGET TO USE rcu_register_thread/rcu_unregister_thread() + * FOR EACH THREAD WITH READ-SIDE CRITICAL SECTION. */ -#define rcu_read_lock() _rcu_read_lock() -#define rcu_read_unlock() _rcu_read_unlock() +#define rcu_read_lock_qsbr() _rcu_read_lock() +#define rcu_read_unlock_qsbr() _rcu_read_unlock() -#define rcu_quiescent_state() _rcu_quiescent_state() -#define rcu_thread_offline() _rcu_thread_offline() -#define rcu_thread_online() _rcu_thread_online() +#define rcu_quiescent_state_qsbr() _rcu_quiescent_state() +#define rcu_thread_offline_qsbr() _rcu_thread_offline() +#define rcu_thread_online_qsbr() _rcu_thread_online() #else /* !_LGPL_SOURCE */ @@ -122,4 +124,6 @@ extern void rcu_unregister_thread(void); } #endif +#include "urcu-call-rcu.h" + #endif /* _URCU_QSBR_H */