Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

With InterProcess Communication: if a storage is shared among two or more proces

ID: 3857059 • Letter: W

Question

With InterProcess Communication: if a storage is shared among two or more processes, for reading and writing, we need to find a way to prohibit more than one process from reading and writing the shared data at the same time disabling interrupts is a simple and attractive approach for user processes to achieve mutual exclusion strict alternation alternates strictly between processes entering their critical sections, while optimizing CPU performance TSL (Test and Set Lock) instruction provides help from hardware to solve the mutual exclusion problem by locking the system bus

Explanation / Answer

answer:
Option#1

because when 2 process are sharing resources we need to avoid the problem of race condition so that only once process can write at a time.

other options doesn't suit here.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote