Question
Q4: Accurately, Answer all the below questions (10 Marks) 1- Why is the term firmware appropriate for describing microcode that is part of a hardware
Q4: Accurately, Answer all the below questions (10 Marks) 1- Why is the term firmware appropriate for describing microcode that is part of a hardware device? 2- In a block/wakeup mechanism, a process blocks itself to wait for an event to occur. Another process must detect that the event has occurred, and wake up the blocked process. 3 a- Can the operating system detect that a blocked process is waiting for an event that will never occur?
b- What reasonable safeguards might be built into an operating system to prevent processes from waiting indefinitely for an event? 3- Compare and contrast thread dispatching in kernel-level threads and in user-level threads. 4- Suppose the two threads in the following figure operate concurrently. What are the possible outcomes?
Thread T, Thread T2 1234567enterMutua1Exclusion(a);enterMutua1Exclusion(b);exitMutua1Exclusion(b);exitMutua1Exclusion(a);1234567enterMutua1Exclusion(b);enterMutualExclusion(a);exitMutualExclusion(a);exitMutua1Exclusion(b)
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