X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu-qsbr.h;h=a691c521db16441091abd177884cfca94bc5af23;hp=984d70cab45835f7c5da1dad113c7d6b8383e4a4;hb=0376e7b2f8d26778ebc4750b34e718c062c92764;hpb=5e77fc1f94c3572fca067d37667d74f8165e2434 diff --git a/urcu-qsbr.h b/urcu-qsbr.h index 984d70c..a691c52 100644 --- a/urcu-qsbr.h +++ b/urcu-qsbr.h @@ -67,12 +67,12 @@ extern "C" { * DON'T FORGET TO USE rcu_register_thread/rcu_unregister_thread() * FOR EACH THREAD WITH READ-SIDE CRITICAL SECTION. */ -#define rcu_read_lock_qsbr() _rcu_read_lock() -#define rcu_read_unlock_qsbr() _rcu_read_unlock() +#define rcu_read_lock_qsbr _rcu_read_lock +#define rcu_read_unlock_qsbr _rcu_read_unlock -#define rcu_quiescent_state_qsbr() _rcu_quiescent_state() -#define rcu_thread_offline_qsbr() _rcu_thread_offline() -#define rcu_thread_online_qsbr() _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 */ @@ -125,5 +125,6 @@ extern void rcu_unregister_thread(void); #endif #include "urcu-call-rcu.h" +#include "urcu-defer.h" #endif /* _URCU_QSBR_H */