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