virtual-labs / exp-non-preemptive-scheduling-iiith

This experiment belongs to Operating System Virtual Lab IIITH.​​​​ Full Name: Preemptive vs. non-preemptive scheduling
https://virtual-labs.github.io/exp-non-preemptive-scheduling-iiith
GNU Affero General Public License v3.0
0 stars 2 forks source link

New process creation during the run of another process #30

Open Bhargavi-hash opened 6 months ago

Bhargavi-hash commented 6 months ago

Both running on cpu and creation of a process can happen simultaneously.

Discussion:

  1. CPU needs to run a kernel process to create a new process.
  2. For that it needs to remove the currently running process (Basically context switching)

--> We are only trying to put the best possible abstraction of scheduling and are not concerned with context switching right now.