Previous: , Up: The Control Library   [Index]


11.14.4 Control Functions

w_cancel

void w_cancel(dispatch p, date d);

cancels the event identified by the d object

w_expire

void w_expire(dispatch p, object o);

expires the activity identified by the o object

w_press

void w_press(dispatch p);

executes the items recorded or scheduled against the p dispatcher object. The function returns when there’s no item left or execution has been suspended.

w_program

void w_program(dispatch p, date d, object z, ...);

schedules a call (an event) against the p dispatcher object of the function indicated by z, with the unnamed arguments and at the time indicated by d. The d object is recorded and will further identify the scheduled event.

w_queue

void w_queue(dispatch p, object o, object z, ...);

queues a recurrent call (an activity) with the unnamed arguments of the function indicated by z against the p dispatcher object. The o object is recorded and will further identify the scheduled activity.

w_register

void w_register(dispatch p, file f);

registers the f output file against the p dispatcher object. f will be checked for non blocking operation before the actual data transfer.

The function may be called on the same file any number of times.

w_resign

void w_resign(dispatch p, file f);

deregisters the f output file with the p dispatcher object

w_schedule

void w_schedule(dispatch p, date d, object z, ...);

schedules a call (an event) against the p dispatcher object of the function indicated by z, with the unnamed arguments and at the time indicated by d

w_set

dispatch w_set(dispatch p, dispatch q);

is q, sets the p dispatcher object as a reference of the q dispatcher object

w_suspend

void w_suspend(dispatch p);

suspends the p dispatcher object execution

w_watch

void w_watch(dispatch p, file f, object z, ...);

registers the f input file against the p dispatcher object, with the function indicated by z to be called with the unnamed arguments when data will become available


Previous: , Up: The Control Library   [Index]