Event-driven Environments:
Window Interface Environments
ä Windowing environments
ä Call back system
ä Runtime environment catches events
ä Mouse clicks
ä Interprocess messages
ä User defined events
ä Application programs
ä Define/register events with the runtime
ä Associate each event with a user written
subprogram
ä When an event occurs the runtime
ä Causes the corresponding subprogram to
execute
ä Subprogram may cause other events....then
returns control to the runtime system
ä Runtime may or may not be multi-threaded
ä If it is it could associate each of the subprograms
with a new thread