What happens when a process switches while making a system call?

What happens if the process calling the system call fires or is unloaded when the system call invoked by the process is launched?

If the system call is unloaded, how to reboot and return it?

+5
source share
1 answer

The system maintains the state of each process in which it blocks everything necessary to suspend and then restart the process. Most of this is what you can imagine - maps of where your memory is actually, lists of files, etc.

, , , , , , .. , , I/O, .

, , . , , " , ...", , .

+1

All Articles