Scheduling priority

There are two priorities for scheduling.

Normal priority

If an event with the same scheduling time is already present on the queue, the new event is appended to the older.

High priority

If an event with the same scheduling time is already present on the queue, the new event is inserted before others.