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_lfq.c
diff --git
a/tests/test_urcu_lfq.c
b/tests/test_urcu_lfq.c
index 901bcaec9c7dc2602c578276fe589eb33d9c5141..aed9be0b5214b2be94890dbace9b96dc341b3ad6 100644
(file)
--- a/
tests/test_urcu_lfq.c
+++ b/
tests/test_urcu_lfq.c
@@
-77,7
+77,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;
@@
-202,7
+202,7
@@
fail:
static void rcu_release_node(struct urcu_ref *ref)
{
static void rcu_release_node(struct urcu_ref *ref)
{
- struct rcu_lfq_node *node = container_of(ref, struct rcu_lfq_node, ref);
+ struct rcu_lfq_node *node = c
aa_c
ontainer_of(ref, struct rcu_lfq_node, ref);
defer_rcu(free, node);
//synchronize_rcu();
//free(node);
defer_rcu(free, node);
//synchronize_rcu();
//free(node);
@@
-255,7
+255,7
@@
void *thr_dequeuer(void *_count)
static void release_node(struct urcu_ref *ref)
{
static void release_node(struct urcu_ref *ref)
{
- struct rcu_lfq_node *node = container_of(ref, struct rcu_lfq_node, ref);
+ struct rcu_lfq_node *node = c
aa_c
ontainer_of(ref, struct rcu_lfq_node, ref);
free(node);
}
free(node);
}
This page took
0.023275 seconds
and
4
git commands to generate.