Question: In the THE multiprogramming system, a page can make the following state transitions: 1. Empty S input buffer (Input production) 2. Input buffer S

In the THE multiprogramming system, a page can make the following state transitions:

1. Empty S input buffer ……………………                     (Input production)

2. Input buffer S processing area …………..              (Input consumption)

3. Processing area S output buffer ………….             (Output production)

4. Output buffer S empty ……………………                  (Output consumption)

5. Empty S processing area …………………                 (Procedure call)

6. Processing area S empty …………………                 (Procedure return)


a. Define the effect of these transitions in terms of the quantities i, o, and p.

b. Can any of them lead to a deadlock if the assumptions made in Problem 6.6 about input processes, user processes, and output processes hold?

void P0 () void P1 () void P2 () while (true) while

void P0 () void P1 () void P2 () while (true) while (true) ( while (true) get (A) get (B) get (C) // critical region: // use A, B, C release (A) release (B) release (C); get (D) get (E) get (B) // critical region: // use D, E, B release (D) release (E) release (B) get (C) get (F)i get (D) // critical region: // use C, F, D release (C); release (F) release (D)

Step by Step Solution

3.38 Rating (167 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a i i 1 i i 1 p p 1 p p 1 o o 1 o o 1 p p 1 p p 1 b By examining the resource constraints listed in ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Document Format (1 attachment)

Word file Icon

451-C-S-D-B-O-S (97).docx

120 KBs Word File

Students Have Also Explored These Related Operating System Questions!