ring queue update

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

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