Answer Posted / boopathi
"A goes for I/O . unlocks mutex.
C was ready to run. So C starts running. locks mutex
B is ready to run. Swaps out C and takes mutex.
A is ready to run. but A is blocked as mutex is locked by B.
but B will never relinqishes the mutex as its higher
priority than C."
From the above, I understand the task B swaps C and takes
mutex. After this task A becomes ready and sees the mutex is
locked by B. Why cant A again swap B (Because A has higher
priority than B)? Im confused here, Please reply.
Is This Answer Correct ? | 8 Yes | 10 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category