Category: Language-Processes
Superclass: Object
My instances provide a guaranteed safe mechanism to allow for communication between processes. All access to the underlying data structures is controlled with critical sections so that things proceed smoothly.

Method category index

instance creation (class)
accessing (instance)

instance creation (class)

new
Create a new instance of the receiver

sortBlock: sortBlock

Create a new instance of the receiver which implements a priority queue with the given sort block

top


accessing (instance)

isEmpty
Answer whether there is an object on the queue

next

Wait for an object to be on the queue, then remove it and answer it

nextPut: value

Put value on the queue and answer it

peek

Wait for an object to be on the queue if necessary, then answer the same object that #next would answer without removing it.

top