Question: The following problem is based on a suggested illustration of I/O mechanisms in [ECKE90] (Figure 7.22): Two women are on either side of a high
The following problem is based on a suggested illustration of I/O mechanisms in [ECKE90] (Figure 7.22):
Two women are on either side of a high fence. One of the women, named Apple-server, has a beautiful apple tree loaded with delicious apples growing on her side of the fence; she is happy to supply apples to the other woman whenever needed. The other woman, named Apple-eater, loves to eat apples but has none. In fact, she must eat her apples at a fixed rate (an apple a day keeps the doctor away). If she eats them faster than that rate, she will get sick. If she eats them slower, she will suffer malnutrition. Neither woman can talk, and so the problem is to get apples from Apple-server to Apple-eater at the correct rate.
Step by Step Solution
3.40 Rating (162 Votes )
There are 3 Steps involved in it
a Assume that the women are working or sleeping or otherwise engaged The first time the alarm goes off it alerts both that it is time to work on apple... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
896-C-S-S-A-D (2436).docx
120 KBs Word File
