schedule-task [Function]


The schedule-task function places a given task on the priority queue (currently, :high or :low) that was specified when the task was created.


schedule-task task


The task argument is the task which is to be enqueued. The task was originally created when a production fired, or when there was an explicit call to perform or schedule.


The schedule-task function returns task.


Tasks may be performed as a result of a call to schedule-task or, more commonly, as a result of an explicit or implicit call to new-time-point. After matching and production firing, new-time-point performs all queued tasks in order of their priority. In the current version of Loom, the highest-priority task is the one at the front of the highest-priority queue.


(setq t1 (perform (move (fi box3)))) 
(schedule-task t1) ==> |TASK|(MOVE |I|BOX3)

See Also

Last modified: Jun 1 1995