wfcqueue: return whether dequeue is dequeuing last element
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 6 May 2013 13:33:36 +0000 (09:33 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 6 May 2013 13:33:36 +0000 (09:33 -0400)
commiteec791af9cc9835682c2a72020171eb64737aff7
tree5221caf5db28af865ee032078a5e7c350d3e146d
parented1b099ef8acd1396dbde7c7150d1a5eb16ce8a6
wfcqueue: return whether dequeue is dequeuing last element

Newly introduced "with_state" dequeue API members return queue state
atomically sampled with the dequeue operation.

Allow testing behavior of dequeue with respect to number of
enqueue-to-empty and splice-from-non-empty.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
urcu/static/wfcqueue.h
urcu/wfcqueue.h
wfcqueue.c
This page took 0.025353 seconds and 4 git commands to generate.