X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=tests%2Frcutorture.h;h=181547a0097dbaab406eceba1d19177da6fb8373;hp=712d59df669c54d564b21d2a18b5f75c71a17372;hb=1a43bbd8f98d5dcf1404b16ab4dc4bfddd65c3b0;hpb=e72596d1f179c11231458344449b508a6dcb9096 diff --git a/tests/rcutorture.h b/tests/rcutorture.h index 712d59d..181547a 100644 --- a/tests/rcutorture.h +++ b/tests/rcutorture.h @@ -92,6 +92,12 @@ int goflag __attribute__((__aligned__(CACHE_LINE_SIZE))) = GOFLAG_INIT; #define rcu_read_unlock_nest() #endif /* #else #ifdef RCU_READ_NESTABLE */ +#ifdef TORTURE_QSBR +#define mark_rcu_quiescent_state rcu_quiescent_state +#define put_thread_offline rcu_thread_offline +#define put_thread_online rcu_thread_online +#endif + #ifndef mark_rcu_quiescent_state #define mark_rcu_quiescent_state() do ; while (0) #endif /* #ifdef mark_rcu_quiescent_state */