In execution of a program a new thread (A) is created and begins in the new state. As it requires an input from the user, the thread scheduler called and changes it into the running state. Finally it gets a time slice from the processor but suddenly a new urgent thread (B) appears which needs to be handied by the CPU. Thus, the thread (A) is blocked and moved back to the run queue. is

Systems Architecture
7th Edition
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Stephen D. Burd
Chapter11: Operating Systems
Section: Chapter Questions
Problem 11VE
icon
Related questions
Question

Please do not give solution in image format thanku

are the answers right? if not solve it.

In execution of a program a new thread (A) is created and begins in the new state. As it requires an input from the user, the thread scheduler
called and changes it into the running state. Finally it gets a time slice from the processor but suddenly a new urgent thread (B) appears which needs to be
handled by the CPU. Thus, the thread (A) is blocked
and moved back to the run queue.
is
Transcribed Image Text:In execution of a program a new thread (A) is created and begins in the new state. As it requires an input from the user, the thread scheduler called and changes it into the running state. Finally it gets a time slice from the processor but suddenly a new urgent thread (B) appears which needs to be handled by the CPU. Thus, the thread (A) is blocked and moved back to the run queue. is
Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Avoiding deadlock
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning