Scheduler’s main functions
lSchedule events at certain time
•Insert events in the list
lDeque events from the list
lDispatch dequed events
•Call appropriate event handler