X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=urcu-qsbr.c;h=a239be036d416f68259c0f586f5d0ce7248385e9;hb=408f6d9220576478e5ce9a20256d579fc9bfa954;hp=87cf41d7ee70f274dc6676af06e3c122dd986222;hpb=6d841bc23fc94345fe76651d73c1a3f821a85aa7;p=urcu.git diff --git a/urcu-qsbr.c b/urcu-qsbr.c index 87cf41d..a239be0 100644 --- a/urcu-qsbr.c +++ b/urcu-qsbr.c @@ -52,6 +52,11 @@ int32_t gp_futex; */ unsigned long rcu_gp_ctr = RCU_GP_ONLINE; +/* + * Active attempts to check for reader Q.S. before calling futex(). + */ +#define RCU_QS_ACTIVE_ATTEMPTS 100 + /* * Written to only by each individual reader. Read by both the reader and the * writers.