![Sequence diagram online scheduler](https://cdn1.cdnme.se/5447227/9-3/screenshot_8_64e62948e087c31b4a9aa5ed.jpg)
![sequence diagram online scheduler sequence diagram online scheduler](https://i.pinimg.com/736x/d2/53/16/d25316ce459323732e704e5c2ebda3d9.jpg)
Specific process switches from the waiting state to the ready state.Specific process switches from the running state to the ready state.A process switches from the running to the waiting state.To determine if scheduling is preemptive or non-preemptive, consider these four parameters: When scheduling is Preemptive or Non-Preemptive? That’s because it doesn’t need special hardware (for example, a timer) like preemptive scheduling. It is the only method that can be used for various hardware platforms. The process that keeps the CPU busy will release the CPU either by switching context or terminating. In this type of scheduling method, the CPU has been allocated to a specific process. The lower priority task holds for some time and resumes when the higher priority task finishes its execution. Sometimes it is important to run a task with a higher priority before another lower priority task, even if the lower priority task is still running. In Preemptive Scheduling, the tasks are mostly assigned with their priorities. Here are two kinds of Scheduling methods:
![Sequence diagram online scheduler](https://cdn1.cdnme.se/5447227/9-3/screenshot_8_64e62948e087c31b4a9aa5ed.jpg)