Next: , Previous: , Up: Aime Libraries   [Index]

7.27 Control Library

The control library objects provide for such control paradigms as event and activity scheduling and file polling.

The library objects describe one data type, the ‘dispatch’ type. It is against objects of such type that files may be recorded and events and activities scheduled. The combined sets may then be run until empty or stopped explicitly.

Events and activities are introduced as scheduled function calls. Input files are also introduced like that, with the calls executed when input is available. Output files are polled until drained, then automatically deregistered.