X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu-qsbr.c;h=a239be036d416f68259c0f586f5d0ce7248385e9;hp=87cf41d7ee70f274dc6676af06e3c122dd986222;hb=408f6d9220576478e5ce9a20256d579fc9bfa954;hpb=8d0693dac471d069e0d38dca43c09a88523b064b 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.