Multiple choice

Consider the following statements with respect to user-level threads and kernel-supported threads (i) Context switch is faster with kernel-supported threads (ii) For user-level threads, a system call can block the entire process (iii) Kernel-supported threads can be scheduled independently (iv) User-level threads are transparent to the kernel Which of the above statements are true?

  1. (ii), (iii) and (iv)

  2. (ii) and (iii)

  3. (i) and (iii)

  4. (i) and (ii)

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

User-level threads are managed by a library; the kernel is unaware of them, so a blocking system call blocks the whole process. Kernel-supported threads are scheduled by the OS, making them independent. Context switching is generally faster for user-level threads because it avoids kernel mode transitions.