CS FundamentalsModerateIBM · Deloitte pattern
In a many-to-one thread model (many user-level threads mapped to one kernel thread), what happens when one thread makes a blocking system call?
- A. Only that thread blocks; the others keep running
- B. The call is converted to a non-blocking call by the CPU
- C. The kernel creates a new kernel thread automatically
- D. The entire process blocks
Correct answer: D. The entire process blocks
The kernel sees only one schedulable entity, so a blocking call blocks all threads of that process. One-to-one models (Linux, Windows) avoid this but cost a kernel thread per user thread.
More Operating Systems questions
- Which disadvantage applies to linked file allocation but NOT to indexed allocation?
- A disk has cylinders 0–199 and the head is at cylinder 72. The request queue, in arrival order, is 110, 25, 160, 47, 130, 8, 95, 185. What…
- A disk spins at 7,200 RPM. What is its average rotational latency?
- Which statement about a page fault is correct?
- Processes: P1 (arrival 0, burst 7), P2 (arrival 2, burst 4), P3 (arrival 4, burst 1), P4 (arrival 5, burst 4) (ms). Using preemptive SJF…
- Processes: P1 (arrival 0, burst 7), P2 (arrival 2, burst 4), P3 (arrival 4, burst 1), P4 (arrival 5, burst 4) (ms). Using Round Robin with…