Hello
I'd like to ask you about a library that implements CPU scheduling.


1. While studying scheduling-related system calls, I have a question.
1-1. I was wondering if developers put a system call in charge of CPU scheduling directly into the program file.
1-2. Or when compiler C compiles the program file, I was wondering if compiler would add a separate system call in charge of CPU scheduling.
1-3. The scheduling system call was implemented in the C library, so I couldn't see the scheduling system call with my eyes, but I was wondering if it was running.


Meanwhile, I got a hint from an internet document.
Scheduler-Related System Calls | The Linux Process Scheduler | InformIT


It said that the system call related to the scheduler will be implemented in Library C.


So when I looked at the library,
There were a lot of header files in one header file.
There were a lot of header files in those many header files.


Which library or header file implemented CPU scheduling?
Does the stdio.h file depend on the library, too?
When the compiler compiles the program source code, does it link the scheduling-related source code?


Thank you for reading it.