2 2 votes Which of the following is false? User level threads are not scheduled by the kernel. Context switching between user-level threads is faster than context switching between kernel-level threads. When a user thread is blocked all other threads of its processes are blocked. Kernel-level threads cannot utilize multiprocessor systems by splitting threads on different processors or cores. Operating System isrodec2017 operating-system process-and-threads threads + – gatecse 2.3k views answer comment Share Follow Print See 1 comment 1 1 comment reply sachin! commented Dec 20, 2017 reply Follow flag option d 0 0 replyShare Please log in or register to add a comment.
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!! sh!va answered Jan 10, 2018 • selected Feb 12, 2018 by pawan kumarln sh!va comment Share Follow 0 reply Please log in or register to add a comment.
0 0 votes option D http://www.geeksforgeeks.org/gate-gate-cs-2014-set-1-question-30/ Manoja Rajalakshmi A answered Dec 21, 2017 Manoja Rajalakshmi A comment Share Follow 0 reply Please log in or register to add a comment.