Basic Event Scheduling Cycle
1. An event is removed from the head of the future event list
2. The routine corresponding to this event is now in “control”
3. The event routine will schedule other events
Future event list
NEXT_EVENT
Remove head
from list
Insert into list
Event routine 1:
Event routine 2: SCHEDULE Event 3 @ time 15.7
Event routine 3:
TIME: 11.5
EVENT: 2
TIME: 12.1
EVENT: 1
TIME: 18.6
EVENT: 1
TIME: 35.0
EVENT: 4
TIME: 15.7
EVENT: 3
Clock time
11.5
Previous slide
Next slide
Back to first slide
View graphic version