Ruby 1.8.7 リファレンスマニュアル
>
ライブラリ一覧
>
threadライブラリ
>
SizedQueueクラス
> max
instance method SizedQueue#max
max
max=(n)
queue の最大サイズを設定します。