Start learning →

In the many-to-one user-to-kernel thread mapping, a single blocking I/O call

Ablocks all the user threads in the process
Bblocks only the calling user thread; others run normally
Cis forbidden by the OS
Dautomatically switches to a different process
Answer & Solution
Correct answer: A. blocks all the user threads in the process
In many-to-one (M:1), the user-space library multiplexes many user threads onto ONE kernel thread. The OS only sees that single kernel thread. When it blocks on a syscall, the kernel parks it all the user threads sharing it are stuck too. This is why M:1 is rare in production one-to-one (Linux pthreads) avoids the issue at the cost of more kernel-side overhead.
Practise this question with Quill — GATE CSE →

Keep practising Operating Systems

Browse all Operating Systems questions for GATE CSE, or explore more Computer Science topics.

Start a Operating Systems lesson →
Related questions