projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
urcu_defer: update test programs (build fix)
[urcu.git]
/
tests
/
test_urcu_assign.c
diff --git
a/tests/test_urcu_assign.c
b/tests/test_urcu_assign.c
index b1298a447762397c14a452f0b8bd4f2b2e4d6ec8..24a704b242583de6f6894b4d534426124d4f9aa9 100644
(file)
--- a/
tests/test_urcu_assign.c
+++ b/
tests/test_urcu_assign.c
@@
-83,7
+83,7
@@
static unsigned long wduration;
static inline void loop_sleep(unsigned long l)
{
while(l-- != 0)
static inline void loop_sleep(unsigned long l)
{
while(l-- != 0)
- cpu_relax();
+ c
aa_c
pu_relax();
}
static int verbose_mode;
}
static int verbose_mode;
@@
-231,7
+231,7
@@
void *thr_reader(void *_count)
while (!test_go)
{
}
while (!test_go)
{
}
- smp_mb();
+
cmm_
smp_mb();
for (;;) {
rcu_read_lock();
for (;;) {
rcu_read_lock();
@@
-269,7
+269,7
@@
void *thr_writer(void *_count)
while (!test_go)
{
}
while (!test_go)
{
}
- smp_mb();
+
cmm_
smp_mb();
for (;;) {
new = test_array_alloc();
for (;;) {
new = test_array_alloc();
@@
-420,7
+420,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.038355 seconds
and
4
git commands to generate.