projects
/
urcu.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_
[urcu.git]
/
tests
/
test_urcu_lfs.c
diff --git
a/tests/test_urcu_lfs.c
b/tests/test_urcu_lfs.c
index 8f881e7c67a824c1298e2778149cc7cfc57c5f78..8249ebaeb05295cb43435cf3869a6ebfc74d9457 100644
(file)
--- a/
tests/test_urcu_lfs.c
+++ b/
tests/test_urcu_lfs.c
@@
-170,7
+170,7
@@
void *thr_enqueuer(void *_count)
while (!test_go)
{
}
while (!test_go)
{
}
- smp_mb();
+
cmm_
smp_mb();
for (;;) {
struct rcu_lfs_node *node = malloc(sizeof(*node));
for (;;) {
struct rcu_lfs_node *node = malloc(sizeof(*node));
@@
-215,7
+215,7
@@
void *thr_dequeuer(void *_count)
while (!test_go)
{
}
while (!test_go)
{
}
- smp_mb();
+
cmm_
smp_mb();
for (;;) {
struct rcu_lfs_node *node = rcu_lfs_pop(&s);
for (;;) {
struct rcu_lfs_node *node = rcu_lfs_pop(&s);
@@
-365,7
+365,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.022661 seconds
and
4
git commands to generate.