Home » Operating Systems » Operating systems miscellaneous » Question

Operating systems miscellaneous

  1. Which one of the following is FALSE ?
    1. User level threads are not scheduled by the kernel.
    2. When a user level thread is blocked, all other threads of its process are blocked.
    3. Context switching between user level threads is faster than context switching between kernel level threads.
    4. Kernel level threads cannot share the code segment.
Correct Option: D

(a) is correct as user Perel threads are managed without kernel support.
(b) In many one model, it one thread makes a blocking system call, the entire process is blocked so all its threads are also blocked.
(c) User Level threads are faster to create & manage than kernel threads as no intervention from kernel is required, so the context switch in them is also faster.
(d) As all threads share code & data including kernel level threads, so this option is ‘FALSE’.



Your comments will be displayed only after manual approval.