• retagged by
2,344 views
2 2 votes

Which of the following is false?

  1. User level threads are not scheduled by the kernel.
  2. Context switching between user-level threads is faster than context switching between kernel-level threads.
  3. When a user thread is blocked all other threads of its processes are blocked.
  4. Kernel-level threads cannot utilize multiprocessor systems by splitting threads on different processors or cores.

2 Answers

Best answer
7 7 votes

There are two approaches to implement a thread package.

(1) User Level Threads

Threads which are created and handled by thread library are called user level threads.

  • OS is unaware of user level threads
  • Creation and handling is cheaper as no system calls are needed. Only CPU registers need to be stored and reloaded
  • But if one thread is blocked, whole process will get blocked.
  • Eg: Pthreads, Mach C-threads, and Solaris 2 UI-threads

(2) Kernel Level thread

Threads which are created and handled by OS are called Kernel Level Threads.

  • Managing is expensive as some system calls are needed.
  • Kernel Level scheduler schedules threads from all processes. Hence it can distribute threads on different processors/cores.
  • Even if one thread is blocked, process will be active. Hence useful if process gets blocked frequently
  • Eg: Windows , UNIX

D is false!!

• selected by
Answer:
Position:
Show:

Related questions

0 0 votes
1 1 answer
418
418 views
Shubham Sharma 2 asked Sep 10, 2025
418 views
Which of the following statement is correct for Pthreads?It refers to POSIX standard (IEEE $1002.1$c)This standard defines API for thread creation onlyThis is a specifica...
0 0 votes
2 2 answers
446
446 views
Shubham Sharma 2 asked Sep 9, 2025
446 views
Given below are two statements:$\text{Statement I}$: A thread is a dispatchable unit of work that does not executes sequentially and is not interruptible$\text{Statement ...
1 1 vote
1 1 answer
1.7k
1.7k views
Souvik33 asked Nov 28, 2022
1,715 views
MSQ Consider the following statements, which one of the following is/are TRUEIn fork() system call, child process inherits all the open file descriptors of parent process...
0 0 votes
2 2 answers
1.4k
1.4k views
admin asked Apr 1, 2020
1,393 views
Which two are valid constructions for Thread?Thread(Runnable r, String name)Thread()Thread(int priority)Thread(Runnable r, ThreadGroup g)Thread(Runnable r, int priority) ...