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 busExplanation / 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.
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.