X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=urcu-qsbr.c;fp=urcu-qsbr.c;h=a239be036d416f68259c0f586f5d0ce7248385e9;hb=3df2c3288ba01c46fa2c85167df7f03aa52ecc5f;hp=87cf41d7ee70f274dc6676af06e3c122dd986222;hpb=c53c46050222b5a36410ff23807ebf714bdfc380;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.