StreakPeaked· Practice

ExamsGATETechnical

Consider the following statements about user-level threads and kernel-level threads. Which one of the following statements is FALSE?

  1. Context switch time is longer for kernel-level threads than for user-level threads.
  2. User-level threads do not need any hardware support.
  3. Related kernel-level threads can be scheduled on different processors in a multiprocessor system.
  4. Blocking one kernel thread blocks all related threads.

Correct answer: Blocking one kernel thread blocks all related threads.

Solution

Kernel-level threads are known to the operating system, so one blocked thread does not necessarily block all other threads of the same process. In contrast, user-level threads are managed by a user-space library and may all be affected if the underlying kernel entity blocks.

Related GATE Technical questions

⚔️ Practice GATE Technical free + battle 1v1 →