1.What important part of the process switch operation is not shown in Figure 3.4
ID: 3787492 • Letter: 1
Question
1.What important part of the process switch operation is not shown in Figure 3.4?
2.What might be the value of interprocess communication (IPC)?
3.Is sharing a resource such as a common set of data considered IPC? Why or Why Not?
4.What makes message passing block or non-blocking?
5.What makes either one of these operations synchronous or non-synchronous?
process Po operating system process P interrupt or system call executing save state into PCBo idle reload state from PCB1 dle interrupt or system call executing save state into PCB1 idle reload state from PCB0 executing Figure 3.4 Diagram showing CPU switch from process to process.Explanation / Answer
1) Process Control Block containing the details of the processes involved(like process number and process state) is not present here.
2) Shared memory system is where IPC occurs
3) Yes , sharing a memory having common set of data is a kind of IPC(inter process communication) where the processes cooperate and make system calls to access the shared memory.
4) Synchronization makes the message passing system as a blocking or non-blocking one. If the communication is synchronous the processes cooperate and schedule the timewhen to access the memory individually without blocking - (non - blocking).... whereas in asynchronous communication two or more processes may access the same memory at the same time blocking each other execution - (blocking)
5) Independent processes make nonsynchronous operation
Whereas Cooperating processes( using shared memory system/message passing system) make operation synchronous.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.