VMS Help
CXXL, task_package, task

 *Conan The Librarian

  All coroutine classes are derived from this class.  All work for an
  object of a given coroutine type occurs within the constructor for
  that type. The coroutine class must be exactly one level of derivation
  from the task class. When the object is created, the constructor takes
  control and runs until halted by one of the following functions:

 	wait()
 	sleep()
 	resultis()

  When a task executes a blocking function on an object that is ready,
  the operation succeeds immediately and the task continues running; if
  the object is pending, the task waits. Control then returns to the
  scheduler, which selects the next task from the ready list or run
  chain. When a pending object becomes ready, the system puts any task
  waiting for that object back on the run chain.

  A task can be in one of the following states:

  RUNNING	Running or ready to run

  IDLE		Waiting for a pending object

  TERMINATED	Completed; not able to resume running (but you can
 		retrieve the result)
  Close     Help