Class: SizedQueue

Inherits:
Queue
  • Object
show all
Defined in:
lib/thread.rb

Overview

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.