On this page
End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class · Ruby 3.0
SizedQueue
This class represents queues of specified size capacity. The push operation may be blocked if the capacity is full.
See Queue for an example of how a SizedQueue works.
Class methods 1
Instance methods 14
Ruby version changes 1
-
3.0
-
Queue#pop,SizedQueue#pushand related methods may now invoke theblock/unblockscheduler hooks in a non-blocking context. [Feature #16786]
-