doc/examples: update queue comment
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 21 Jun 2013 19:03:48 +0000 (15:03 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 21 Jun 2013 19:03:48 +0000 (15:03 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
doc/examples/wfcqueue/cds_wfcq_enqueue.c

index b5dc1471f6bbcc109d300be81a3254456044ab3d..6af2c54e7cac2d73618f4b5c89651b2e42305c84 100644 (file)
@@ -58,7 +58,8 @@ int main(int argc, char **argv)
        }
 
        /*
-        * Show the queue content.
+        * Show the queue content, iterate in the same order nodes were
+        * enqueued, from oldest to newest.
         */
        printf("myqueue content:");
        __cds_wfcq_for_each_blocking(&myqueue_head, &myqueue_tail, qnode) {
This page took 0.025055 seconds and 4 git commands to generate.