The Gateway to Computer Science Excellence
0 votes

User level threads doesnot require context switching- This is a true statement (Because OS cannot recognize user level threads)

Can somebody elaborate more on it??

This given answer is wrong I think:

Plz check

in Operating System by Veteran (119k points) | 99 views
User level thread does context switching.

Whether OS recognizes ULT or not why does it matter ?

ULT will do context switching to save time so that it can resume from the point at which it stopped the thread  and not to redo the processing again.

It is just that it does not requires hardware support so it is faster than kernel level threads.

User level thread does context switching.

where u got it?? Any link?? 


Read the answer again.

Thus,User Level Thread Switching does not mandatorily require Context Switching

It also means that sometimes it does require context switching so S1 is false.



I have read many artical, but not getting clearly "if user level threads requires context switching or not". Moreover not getting clear definition of user level thread, even not in 'Galvin'


I have get idea of user level threads from here and here. But not getting whatever that ans is written


see this line here

"Creating a new thread, switiching between threads, and synchronizing threads are done via procedure call. i.e no kernel involvement."

context switching is done with the help of procedure calls in ULT.

Operating Systems kernel provides system call to create and manage threads for KLT

I also didn't understood much from that answer.

Please log in or register to answer this question.

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,833 questions
57,688 answers
107,336 users