projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add compat file for test urcu wfs
[userspace-rcu.git]
/
tests
/
test_urcu_lfq.c
diff --git
a/tests/test_urcu_lfq.c
b/tests/test_urcu_lfq.c
index 5292ebd4c4f35e673b7e52588cc526c326fcb6be..11e7eb37b265c43a404d26c1d017e58cbfbc9fb1 100644
(file)
--- a/
tests/test_urcu_lfq.c
+++ b/
tests/test_urcu_lfq.c
@@
-190,11
+190,11
@@
void *thr_enqueuer(void *_count)
rcu_read_unlock();
nr_successful_enqueues++;
rcu_read_unlock();
nr_successful_enqueues++;
- if (unlikely(wdelay))
+ if (
caa_
unlikely(wdelay))
loop_sleep(wdelay);
fail:
nr_enqueues++;
loop_sleep(wdelay);
fail:
nr_enqueues++;
- if (unlikely(!test_duration_enqueue()))
+ if (
caa_
unlikely(!test_duration_enqueue()))
break;
}
break;
}
@@
-255,9
+255,9
@@
void *thr_dequeuer(void *_count)
}
nr_dequeues++;
}
nr_dequeues++;
- if (unlikely(!test_duration_dequeue()))
+ if (
caa_
unlikely(!test_duration_dequeue()))
break;
break;
- if (unlikely(rduration))
+ if (
caa_
unlikely(rduration))
loop_sleep(rduration);
}
loop_sleep(rduration);
}
This page took
0.023143 seconds
and
4
git commands to generate.