I'm curious about CPU scheduling.
Q1.Do developers directly write system calls that implement CPU scheduling in application files such as games and EXCEL?
Q2.Then, when the application programs are executed and become processes,Do processes enter kernel mode through scheduling system calls and rotate CPU scheduling by themselves?
Q3.If there's a program file like Game,
When developers develop Game, they put the scheduling algorithm source code in the Game source code, right?
Q4.And the process without the scheduling algorithm source code follows the basic scheduling of the running OS?
Q5.Since the kernel is passive, it cannot actively manage the scheduling of the process.
By the way, how does a process without a scheduling system call execute the scheduling of the OS?
Q6.If so, in the case of a process that does not have a scheduling algorithm source code in itself,
Is there a separate process in the OS to manage the scheduling of such a process?
What's the name of the process?
Thank you for reading it.