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_wfs.c
diff --git
a/tests/test_urcu_wfs.c
b/tests/test_urcu_wfs.c
index f50b1400ffdd95d847d19ef8e256677982ffd734..294e95530c5444ce40fef2b65bf220cdc6e33640 100644
(file)
--- a/
tests/test_urcu_wfs.c
+++ b/
tests/test_urcu_wfs.c
@@
-167,7
+167,7
@@
void *thr_enqueuer(void *_count)
while (!test_go)
{
}
while (!test_go)
{
}
- smp_mb();
+
cmm_
smp_mb();
for (;;) {
struct wfs_node *node = malloc(sizeof(*node));
for (;;) {
struct wfs_node *node = malloc(sizeof(*node));
@@
-207,7
+207,7
@@
void *thr_dequeuer(void *_count)
while (!test_go)
{
}
while (!test_go)
{
}
- smp_mb();
+
cmm_
smp_mb();
for (;;) {
struct wfs_node *node = wfs_pop_blocking(&s);
for (;;) {
struct wfs_node *node = wfs_pop_blocking(&s);
@@
-354,7
+354,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.025434 seconds
and
4
git commands to generate.