Priority-based and Deadline-based scheduling done