Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question B (10 points): Consider three dependent tasks T1 ,T2, and T3. The tasks T2 and T3 have access to a shared resource R. In

image text in transcribed

Question B (10 points): Consider three dependent tasks T1 ,T2, and T3. The tasks T2 and T3 have access to a shared resource R. In order to describe this task set with the critical sections of task T1 and T3, we add new parameters that specify the computation time ci as follows: c: task duration before entering the critical section, CY: critical section duration, c: task duration after the critical section. Of course, we have c; =C + c ; +. So the task set is described by the parameters given in the following table. As we know, each task in a critical section can be preempted by a higher priority task which does not need this resource. Task (T) (ci picici T ciz T1 416 4 0 0 0 T3 8 T 24T0 8 0 I Answer the following: 1. Construct the schedule obtained under the RMS algorithm. Indicate at what point priority inversion occurs. 2. In order to prevent this priority inversion, apply priority inheritance protocol. Construct the schedule obtained using RMS algorithm with priority inheritance protocol enabled

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Management Databases And Organizations

Authors: Watson Watson

5th Edition

0471715360, 978-0471715368

Students also viewed these Databases questions

Question

Explain strong and weak atoms with examples.

Answered: 1 week ago

Question

Explain the alkaline nature of aqueous solution of making soda.

Answered: 1 week ago

Question

Comment on the pH value of lattice solutions of salts.

Answered: 1 week ago