Contents

Class SharedQueue


Inheritance:

Object  »
  SharedQueue

A SharedQueue provides synchronized communication of arbitrary objects between Processes. An object is sent by sending the message nextPut: and received by sending the message next. If no object has been put in the queue when a next message is sent, the process requesting the object will be blocked until one is sent.

The protocol of a SharedQueue resembles that of a ReadWriteStream. To avoid the use of inherited code that is not thread-safe, the class SharedQueue is defined as a direct subclass of Object.

Instance Variables:

Class Methods:

Instance Methods:


Contents