VMS Help CXXL, task_package *Conan The Librarian |
The task package provides coroutine support. A coroutine, or task, is a subroutine that can suspend execution to allow other tasks to run. Static data is shared among all tasks; automatic and register data is allocated separately for each task. Only one task can execute at a time, even on a multiprocessor system. Programming with tasks can be particularly appropriate for simulations, real-time process control, or other applications that can be reasonably represented as sets of concurrent activities. This package includes the object and randint classes, and the subclasses derived from these classes plus the histogram class. Also, note the following: o The sched class is intended for use only as a base class. o The task package makes use of other libraries. o The task package is not thread safe. You cannot create tasks simultaneously from different threads. Header: #include <task.hxx>
Additional Information (explode) :
|