ALL > Computer and Education > courses > university courses > undergraduate courses > Operating System > classbefore2015 >
Excise 3.2 and 3.6_董彦松 Version 0
👤 Author: by 2013329620071d 2015-10-10 08:52:21
3.2

Answer:In general, the operating system must save the state of the currently running process and restore the state of the process scheduled to be run next. Saving the state of a process typically includes the values of all the CPU registers in addition to memory allocation. Context switches must also perform many architecture-specific operations, including flushing data and instruction caches.

3.6

Answer:

#include<sys/types.h>
#include<stdio.h>
#include<unistd.h&

Please login to reply. Login

Reversion History

Loading...
No reversions found.