Skip to content
Related Articles

Related Articles

Improve Article

GATE | GATE-CS-2014-(Set-1) | Question 30

  • Difficulty Level : Basic
  • Last Updated : 28 Jun, 2021

Which one of the following is FALSE?

(A) User level threads are not scheduled by the kernel.

(B) When a user level thread is blocked, all other threads of its process are blocked.
(C) Context switching between user level threads is faster than context switching between kernel level threads.
(D) Kernel level threads cannot share the code segment


Answer: (D)

Explanation:

User level threadKernel level thread
User thread are implemented by user processes.kernel threads are implemented by OS.
OS doesn’t recognized user level threads.Kernel threads are recognized by OS.
Implementation of User threads is easy.Implementation of Kernel thread is complicated.
Context switch time is less.Context switch time is more.
Context switch requires no hardware support.Hardware support is needed.
If one user level thread perform blocking operation then entire process will be blocked.If one kernel thread perform blocking operation then another thread can continue execution.
Example : Java thread, POSIX threads.Example : Window Solaris.

Source: https://www.geeksforgeeks.org/difference-between-user-level-thread-and-kernel-level-thread/

Quiz of this Question

Attention reader! Don’t stop learning now.  Practice GATE exam well before the actual exam with the subject-wise and overall quizzes available in GATE Test Series Course.

Learn all GATE CS concepts with Free Live Classes on our youtube channel.

My Personal Notes arrow_drop_up
Recommended Articles
Page :