queue peek issues

git-svn-id: svn://svn.caucho.com/home/svn/svnroot/resin/trunk@10033 9c94448d-38f1-0310-a231-d98308ff1ebf
ring buffer updates

git-svn-id: svn://svn.caucho.com/home/svn/svnroot/resin/trunk@10034 9c94448d-38f1-0310-a231-d98308ff1ebf
ring queue updates

git-svn-id: svn://svn.caucho.com/home/svn/svnroot/resin/trunk@10035 9c94448d-38f1-0310-a231-d98308ff1ebf