-
Consider the following statements with respect to userlevel threads and kernel-supported threads:
1. Context switch is faster with kernel-supported threads
2. for user-level threads, a system call can block the entire process
3. Kernel supported threads can be scheduled independently
4. User level threads are transparent to the kernel Which of the above statements are true?
-
- 2, 3 and 4
- 2 and 3
- 1 and 3
- 1 and 2
- 2, 3 and 4
Correct Option: A
I) User level thread switching is faster than kernel level switching. SO I is false.
II) & III) is true.
IV). User level threads are transparent to the kernel. This is little confusing. If you search define transparent on google, you get definations like "(of a material or article) allowing light to pass through so that objects behind can be distinctly seen." –>" transparent blue water"",
"easy to perceive or detect." –> "the residents will see through any transparent attempt to buy their votes".
This makes it all confusing. Though if go & check more definition.
Computing (of a process or interface) functioning without the user being aware of its presence. So in case of Computing transparent means functioning without being aware. In our case user level threads are functioning without kernel being aware about them. So IV is actually correct. Hence option (a) is correct.