RoseEvents.Mesa
Last Edited by: Spreitzer, April 30, 1985 2:37:41 pm PDT
RoseEvents: CEDAR DEFINITIONS =
BEGIN
WatcherList: TYPE = LIST OF Watcher;
Watcher:
TYPE =
RECORD [
Notify: NotifyProc,
watcherData: REF ANY ← NIL];
NotifyProc: TYPE = PROC [event: ATOM, watched, watcherData, arg: REF ANY];
AddWatcher,
RemoveWatcher:
PROC [event:
ATOM, watcher: Watcher, watched:
REF
ANY ←
NIL];
watched may be all
all: REF ANY;
Notify:
PROC [event:
ATOM, watched:
REF
ANY ←
NIL, handleAborted:
BOOL, arg:
REF
ANY ←
NIL];
watched may not be all
END.