Question
1) You have been hired by NASA to study Operating Systems issues in their latest Mars probe. Consider the following situations: a) The probe has
1) You have been hired by NASA to study Operating Systems issues in their latest Mars probe. Consider the following situations: a) The probe has several interconnected fuel tanks. The tanks are connected in a ring and fuel can be pumped between adjacent tanks by any of the processes running on the probe. To avoid race conditions, processes use the following algorithm for moving fuel: lock the tank from which fuel is being moved; lock the tank to which fuel is being moved; move the fuel between tanks (increment the contents of one and decrement the contents of the other); release the locks in the reverse order. - What is the most serious problem this solution has? - Give an example illustrating the problem - Suggest a way to fix it . b) Name an advantage that using the known solution has. c) This probe is a self-contained system being sent far from its controllers into a dangerous and unpredictable environment with the intent of reporting interesting data back to its owners. Discuss 3 ways in which the operating system of this probe must differ from the operating system of a general purpose earthbound computer.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started