wfcqueue: introduce nonblocking API
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 22 Oct 2012 12:55:22 +0000 (08:55 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 23 Oct 2012 12:27:37 +0000 (08:27 -0400)
commit47215721095cf47e110f113d26f9e61514405a4c
treea496036157c46e0ef6c9a0a59e36e3005df2eea0
parent111ce0c32c06f79ddcf3c2af3b869a8563106433
wfcqueue: introduce nonblocking API

Introduce nonblocking API in wfcqueue, allowing RT threads to try to
dequeue, splice, or iterate on spliced queues without blocking: the
caller needs to handle CDS_WFCQ_WOULDBLOCK return value (or nonzero
return value for splice).

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
CC: Paul McKenney <paulmck@linux.vnet.ibm.com>
CC: Lai Jiangshan <laijs@cn.fujitsu.com>
urcu/static/wfcqueue.h
urcu/wfcqueue.h
wfcqueue.c
This page took 0.025336 seconds and 4 git commands to generate.