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

Describe how a multi-threaded application can be supported by a user-level threads package. It may be helpful to consider (and draw) the components of such...

      

Describe how a multi-threaded application can be supported by a user-level threads package. It may be helpful to consider (and draw) the components of such a package, and the function they perform

  

Answers


Faith
The kernel sees each process as having:
- Its own address space,
- Its own file management descriptors, and
- A single thread of execution.
Incorporating a user-level thread package into the programme will have a beneficial effect on its
performance, a way to visualise it is multiplexing user level threads onto a single kernel thread. The
process's scheduler we note is separate from the kernel's scheduler, and is often cooperative rather
than pre-emptive so we must be careful of blocking operations. Generally we can attain good
performance as we take advantage of virtual memory to store user level control blocks and stacks.
Titany answered the question on April 26, 2022 at 05:09


Next: What is a process? What are attributes of a process?
Previous: Name some advantages and disadvantages of user-level threads

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


Learn High School English on YouTube

Related Questions