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 schedular is called and changes it into the runnab 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.

Systems Architecture
7th Edition
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Stephen D. Burd
Chapter11: Operating Systems
Section: Chapter Questions
Problem 14VE
icon
Related questions
Question
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 schedular
is called
and changes it into the runnab 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.
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 schedular is called and changes it into the runnab 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.
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