The Gateway to Computer Science Excellence
0 votes
78 views

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:https://gateoverflow.in/290648/made_easy_test_series

Plz check

in Operating System by Veteran (117k points) | 78 views
0
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.
0

User level thread does context switching.

where u got it?? Any link?? 

+1

Read the answer again.

https://gateoverflow.in/290648/made_easy_test_series

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.

0
0

@Satbir

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'

0

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

0

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

0
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,645 questions
56,601 answers
195,854 comments
102,227 users