refixed thread Queue, the @waiting variable has to be an array so that encapsulation can be violated
refixed thread Queue, the @waiting variable has to be an array so that encapsulation can be violated

@waiting is still an array so it passes full specs (apparently something in 1.8/library/net makes direct usage of the @waiting array)
SizedQueue is still broken however

Revert "Revert "fixed bug in lib/thread Queue""

This reverts commit 7cd247b2795831902f108b25169624c5921ee018.

travis-repos/rubinius,kachick/rubinius,heftig/rubinius,heftig/rubinius,travis-repos/rubinius,jsyeo/rubinius,mlarraz/rubinius,dblock/rubinius,Azizou/rubinius,Wirachmat/rubinius,dblock/rubinius,dblock/rubinius,benlovell/rubinius,jemc/rubinius,kachick/rubinius,ngpestelos/rubinius,travis-repos/rubinius,jemc/rubinius,Azizou/rubinius,Wirachmat/rubinius,ngpestelos/rubinius,Wirachmat/rubinius,pH14/rubinius,ruipserra/rubinius,kachick/rubinius,benlovell/rubinius,benlovell/rubinius,lgierth/rubinius,mlarraz/rubinius,kachick/rubinius,jsyeo/rubinius,Wirachmat/rubinius,lgierth/rubinius,pH14/rubinius,digitalextremist/rubinius,kachick/rubinius,pH14/rubinius,ngpestelos/rubinius,pH14/rubinius,mlarraz/rubinius,benlovell/rubinius,benlovell/rubinius,pH14/rubinius,jemc/rubinius,heftig/rubinius,heftig/rubinius,slawosz/rubinius,slawosz/rubinius,Azizou/rubinius,Wirachmat/rubinius,ngpestelos/rubinius,slawosz/rubinius,Azizou/rubinius,digitalextremist/rubinius,travis-repos/rubinius,jsyeo/rubinius,Wirachmat/rubinius,pH14/rubinius,Azizou/rubinius,dblock/rubinius,sferik/rubinius,ruipserra/rubinius,kachick/rubinius,lgierth/rubinius,jemc/rubinius,mlarraz/rubinius,ngpestelos/rubinius,ruipserra/rubinius,benlovell/rubinius,mlarraz/rubinius,sferik/rubinius,lgierth/rubinius,jsyeo/rubinius,travis-repos/rubinius,slawosz/rubinius,dblock/rubinius,mlarraz/rubinius,dblock/rubinius,sferik/rubinius,sferik/rubinius,ngpestelos/rubinius,ruipserra/rubinius,ruipserra/rubinius,digitalextremist/rubinius,mlarraz/rubinius,heftig/rubinius,sferik/rubinius,digitalextremist/rubinius,slawosz/rubinius,heftig/rubinius,lgierth/rubinius,sferik/rubinius,travis-repos/rubinius,slawosz/rubinius,dblock/rubinius,Azizou/rubinius,digitalextremist/rubinius,jemc/rubinius,digitalextremist/rubinius,benlovell/rubinius,kachick/rubinius,Azizou/rubinius,jsyeo/rubinius,slawosz/rubinius,jemc/rubinius,ruipserra/rubinius,Wirachmat/rubinius,pH14/rubinius,jemc/rubinius,heftig/rubinius,lgierth/rubinius,lgierth/rubinius,travis-repos/rubinius,ruipserra/rubinius,jsyeo/rubinius,jsyeo/rubinius,digitalextremist/rubinius,ngpestelos/rubinius,kachick/rubinius,sferik/rubinius