projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename all memory primitives with prefix cmm_
[userspace-rcu.git]
/
tests
/
test_urcu_lfq.c
diff --git
a/tests/test_urcu_lfq.c
b/tests/test_urcu_lfq.c
index 87c53b6c25460b89b1837dddf5cfe3ce1fa80471..901bcaec9c7dc2602c578276fe589eb33d9c5141 100644
(file)
--- a/
tests/test_urcu_lfq.c
+++ b/
tests/test_urcu_lfq.c
@@
-170,7
+170,7
@@
void *thr_enqueuer(void *_count)
while (!test_go)
{
}
while (!test_go)
{
}
- smp_mb();
+
cmm_
smp_mb();
for (;;) {
struct rcu_lfq_node *node = malloc(sizeof(*node));
for (;;) {
struct rcu_lfq_node *node = malloc(sizeof(*node));
@@
-223,7
+223,7
@@
void *thr_dequeuer(void *_count)
while (!test_go)
{
}
while (!test_go)
{
}
- smp_mb();
+
cmm_
smp_mb();
for (;;) {
struct rcu_lfq_node *node = rcu_lfq_dequeue(&q,
for (;;) {
struct rcu_lfq_node *node = rcu_lfq_dequeue(&q,
@@
-380,7
+380,7
@@
int main(int argc, char **argv)
exit(1);
}
exit(1);
}
- smp_mb();
+
cmm_
smp_mb();
test_go = 1;
test_go = 1;
This page took
0.024316 seconds
and
4
git commands to generate.