A Muq jobQueue is just what you probably think, an anchor-point for a linklist of Job objects, typically used to hold a set of jobs waiting on some event before they continue. Jobs currently ready to run are kept in a jobQueue, as are paused jobs. Each stream object has two job-queues associated with it, one for jobs which are waiting for something to read, one for jobs waiting for room for a write.
Class JobQueue adds the following properties to those of Class Plain:
$S.next: Next job in queue, or else the jobQueue itself. $S.previous: Previous job in queue, or else the jobQueue itself. $S.partOf: In job-queues on a stream, this points to the stream. $S.kind: "i/o" usually, "run" for run queues, else "ps"/"doz"/"poz"/"hlt".
Note: For convenience, the $S properties are also available in the public (default) propdir.
Go to the first, previous, next, last section, table of contents.