CS FundamentalsModerateGATE CS · Amazon/Microsoft SDE MCQ

Which statement about user-level threads in a many-to-one model is correct?

  1. A. A page fault in one thread is handled without stopping the others
  2. B. Two threads of the process can run in parallel on two cores
  3. C. The kernel schedules each of the threads separately on the CPU
  4. D. A blocking system call by one thread blocks all threads of the process

Correct answer: D. A blocking system call by one thread blocks all threads of the process

The kernel sees a single schedulable entity, so a blocking call or page fault stops all of the process's threads, and they can never run truly in parallel. Thread switching, however, needs no system call, which makes it fast.

More Operating Systems questions

Exams that ask this topic