wfstack: return whether pop is popping the last element
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 6 May 2013 13:35:07 +0000 (09:35 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 6 May 2013 13:35:07 +0000 (09:35 -0400)
commitc8975b945b18a70ab50beda755370896d30db8fe
treecef470744b68c4ad92bef64cbbf69eaaf6b78ec7
parentdb182e317b72b20bcf8f3378aac7e18917f07766
wfstack: return whether pop is popping the last element

Newly introduced "with_state" pop API members return stack state
atomically sampled with the pop operation.

Allow testing behavior of pop with respect to number of push-to-empty
and pop-all-from-non-empty.

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