562 views
0 0 votes
Which of the following is false about User threads?

 User threads can switch fast since it does not involve kernel.

 User threads are lightweight since they do not require system calls.

 Kernel is not aware of the behavior of every user threads i.e. if it is blocking or runnable.

 None of these

1 Answer

0 0 votes

The given options are ambiguous. 

2. User threads are lightweight since they do not require system calls. : Does it mean user threads do not require system call for creation or do not use system call while execution ???

For Thread creation – APIs from thread libraries are used. 
Threads can use system calls – eg. Blocking system call for I/O completion

Ans : Option 2 looks false.

 

Position:
Show:

Related questions

0 0 votes
2 2 answers
3.0k
3.0k views
roopkathaaa asked Sep 2, 2023
2,994 views
A system has 5 process and 3 resources (A, B, C). The maximum count of resources are (10, 5, 7). Consider the following table of resource allocation. MAX(A B C)Alloc...
0 0 votes
1 1 answer
1.4k
1.4k views
roopkathaaa asked Sep 2, 2023
1,374 views
State true or false.Deadlock detection is possible using the allocation and request matrices alone.A way to recover from deadlock is to take away the resource from one of...
0 0 votes
1 1 answer
607
607 views
roopkathaaa asked Sep 2, 2023
607 views
Suppose we want to synchronize two concurrent process P and Q using binary semaphore S and T.Process P: Process Q: while(1){ ...
1 1 vote
1 1 answer
1.9k
1.9k views
Suman Acharya asked Sep 12, 2017
1,897 views
Which one of the following is false about user threads1. User threads can switch fast since it does noy invoke kernel2.user threads are light weight since they do not re...