Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The following figure shows the behaviour of four periodic tasks: W , x , Y and Z . The priorities of these tasks are determined
The following figure shows the behaviour of four periodic tasks: and The priorities
of these tasks are determined by the monotonic rate scheme, having as a result that
priority priority priority priority
The period of each task starts at time S and ends at time The four tasks share
resources that are protected by the binary semaphores A and In the above diagram,
label and B implies a wait operation on the semaphore; label and implies a signal
operation on the semaphore.
The process requirements are given in the following table:
The diagram shows the evolution of the execution of the four processes using static
priorities. For example, starts at time successfully executes an operation wait on at
time and has to wait on at time Z had already blocked A At time it executes again
it has blocked activates at time and at time It is then evicted by but executes
again at time
a Redo the diagram given in the figure above to illustrate the behaviour of these
processes if priority inheritance is used.
b Redo the diagram above to show the behaviour of these processes if immediate
priority inheritance is used,
For each diagram, explain the behaviour of the processes shown in the diagrams,
specifying, and explaining how priority inheritance and immediate priorityquotient
inheritance are performed, so as to clarify how the diagrams are modified by these
considerations.
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