projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename all arch primitives with prefix caa_
[urcu.git]
/
tests
/
test_urcu_wfq.c
diff --git
a/tests/test_urcu_wfq.c
b/tests/test_urcu_wfq.c
index b0629d2a1eeabf33a9d073b2c4a75af39bef7076..cb49454e7b06d995f77af55321fc55a385180097 100644
(file)
--- a/
tests/test_urcu_wfq.c
+++ b/
tests/test_urcu_wfq.c
@@
-76,7
+76,7
@@
static unsigned long wdelay;
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;
@@
-167,7
+167,7
@@
void *thr_enqueuer(void *_count)
while (!test_go)
{
}
while (!test_go)
{
}
- smp_mb();
+
cmm_
smp_mb();
for (;;) {
struct wfq_node *node = malloc(sizeof(*node));
for (;;) {
struct wfq_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 wfq_node *node = wfq_dequeue_blocking(&q);
for (;;) {
struct wfq_node *node = wfq_dequeue_blocking(&q);
@@
-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.02325 seconds
and
4
git commands to generate.