X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=tests%2Ftest_urcu_lfq.c;h=39e0351abb27672f5d6677e436ebaeebc88567b3;hp=66ddd410c6d7d80c26bd35bf95e425fbfaf611ae;hb=ab0aacbe1a25d50d069f0b24aa492e84ea296f57;hpb=cd44283e7157831c93aaa2e4386b3b7e3ce73b26 diff --git a/tests/test_urcu_lfq.c b/tests/test_urcu_lfq.c index 66ddd41..39e0351 100644 --- a/tests/test_urcu_lfq.c +++ b/tests/test_urcu_lfq.c @@ -78,9 +78,9 @@ static unsigned long duration; /* read-side C.S. duration, in loops */ static unsigned long wdelay; -static inline void loop_sleep(unsigned long l) +static inline void loop_sleep(unsigned long loops) { - while(l-- != 0) + while (loops-- != 0) caa_cpu_relax(); }