Next: , Previous: , Up: The Control Library   [Index]


13.13.4 Control Functions

w_expire

void w_expire(dispatch p, object o);

expires the activity identified by the o object

w_press

dispatch w_press(dispatch p);

is 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_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 input file with the p dispatcher object

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


Next: Event Scheduling Functions, Previous: Activities, Up: The Control Library   [Index]