Get premium membership and access questions with answers, video lessons as well as revision papers.

Enumerate the advantages and disadvantages of supporting multi-threaded applications with kernel-level threads

      

Enumerate the advantages and disadvantages of supporting multi-threaded applications
with kernel-level threads

  

Answers


Faith
The advantages of kernel-level threads include: Ability to pre-emptively schedule threads as user level
scheduling generally only supports the (potentially buggy) co-operative scheduling – with the added
benefit of not requiring yields everywhere; Each thread is guaranteed a fair amount of execution time

Disadvantages of kernel-level threads include: No benefit to applications whose functions stay staunchly
in user land; a significantly smaller address space; a significantly smaller and possibly close to full stack; code is less portable as OS support is required; thread management is expensive as it requires syscalls
Titany answered the question on April 26, 2022 at 05:15


Next: Why are user-level threads packages generally cooperatively scheduled?
Previous: Context switching between two threads of execution within the operating system is usually performed by a small assembly language function. In general terms, what does this small...

View More Operating Systems Questions and Answers | Return to Questions Index


Learn High School English on YouTube

Related Questions