Ruby 1.8.7 リファレンスマニュアル > ライブラリ一覧 > threadライブラリ > Queueクラス > num_waiting

instance method Queue#num_waiting

num_waiting

queue を待っているスレッドの数を返します。