opr: queue swap
authorMichael Meffie <mmeffie@sinenomine.net>
Thu, 18 Aug 2011 21:04:14 +0000 (17:04 -0400)
committerDerrick Brashear <shadow@dementix.org>
Thu, 3 Nov 2011 20:12:06 +0000 (13:12 -0700)
commit9c130285d8f17a5e09bbe0b3c3b886ec3145bae9
tree0843f8413b260016c4031cb4b234747f60314422
parentfbf68f12592419a315f56585f9b8bb3a822bbc9b
opr: queue swap

Add inline function to pivot two queues.
Implementation by Simon Wilkinson.

Change-Id: I704a1ff3e0d6314e2bfe47c870226cb6ffd44b1b
Reviewed-on: http://gerrit.openafs.org/5742
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/opr/queue.h
tests/opr/queues-t.c