wfcqueue: remove ancient comment
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sun, 14 Oct 2012 15:59:31 +0000 (11:59 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sun, 14 Oct 2012 15:59:31 +0000 (11:59 -0400)
This comment is a leftover from wfqueue and is now inappropriate in the
context of wfcqueue: the dequeue operation busy-waits if it sees a NULL
next pointer from a node that is not the tail node.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
urcu/static/wfcqueue.h

index 2ca9eebe649d9436f7584c1f898e0d29524207b9..4a9003e525d0e1ed34ae4fdd9ea6eb3f7a3aea44 100644 (file)
@@ -257,11 +257,6 @@ ___cds_wfcq_next_blocking(struct cds_wfcq_head *head,
 /*
  * __cds_wfcq_dequeue_blocking: dequeue a node from the queue.
  *
- * No need to go on a waitqueue here, as there is no possible state in which the
- * list could cause dequeue to busy-loop needlessly while waiting for another
- * thread to be scheduled. The queue appears empty until tail->next is set by
- * enqueue.
- *
  * Content written into the node before enqueue is guaranteed to be
  * consistent, but no other memory ordering is ensured.
  * It is valid to reuse and free a dequeued node immediately.
This page took 0.025466 seconds and 4 git commands to generate.