projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup: missing sign compare fixes
[urcu.git]
/
doc
/
examples
/
wfcqueue
/
cds_wfcq_enqueue.c
diff --git
a/doc/examples/wfcqueue/cds_wfcq_enqueue.c
b/doc/examples/wfcqueue/cds_wfcq_enqueue.c
index 6af2c54e7cac2d73618f4b5c89651b2e42305c84..cfc9963e6040659f0bfa3de984b4a0d0266ee003 100644
(file)
--- a/
doc/examples/wfcqueue/cds_wfcq_enqueue.c
+++ b/
doc/examples/wfcqueue/cds_wfcq_enqueue.c
@@
-39,8
+39,7
@@
int main(int argc, char **argv)
cds_wfcq_init(&myqueue_head, &myqueue_tail);
/*
cds_wfcq_init(&myqueue_head, &myqueue_tail);
/*
- * Adding nodes to the linked-list. Safe against concurrent
- * RCU traversals, require mutual exclusion with list updates.
+ * Enqueue nodes.
*/
for (i = 0; i < CAA_ARRAY_SIZE(values); i++) {
struct mynode *node;
*/
for (i = 0; i < CAA_ARRAY_SIZE(values); i++) {
struct mynode *node;
@@
-69,5
+68,6
@@
int main(int argc, char **argv)
}
printf("\n");
end:
}
printf("\n");
end:
+ cds_wfcq_destroy(&myqueue_head, &myqueue_tail);
return ret;
}
return ret;
}
This page took
0.022574 seconds
and
4
git commands to generate.