X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=tests%2Ftest_urcu_wfcq.c;h=6c2e4e827707f80ce7af9a29a1480f7ee49c4fb3;hb=ab0aacbe1a25d50d069f0b24aa492e84ea296f57;hp=3141268053f3955685700def0cf0bfcbc1948b59;hpb=5e70d57262c7fc1f4e7fdfd288eeab7e14836079;p=urcu.git diff --git a/tests/test_urcu_wfcq.c b/tests/test_urcu_wfcq.c index 3141268..6c2e4e8 100644 --- a/tests/test_urcu_wfcq.c +++ b/tests/test_urcu_wfcq.c @@ -77,9 +77,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(); }