Differences among user-level threads and kernel-level thread, Operating System

Q. What are two differences among user-level threads and kernel-level threads? Under what situations is one type better than the other?

Answer:

(1) User-level threads are unidentified by the kernel whereas the kernel is aware of kernel threads.

(2) On systems utilizing either M:1 or M:N mapping user threads are scheduled by the thread library and the kernel schedules kernel threads.

(3) Kernel threads require not be associated with a process where as each user thread belongs to a process. Kernel threads are usually more expensive to maintain than user threads as they must be represented with a kernel data structure.

Posted Date: 7/27/2013 2:35:45 AM | Location : United States







Related Discussions:- Differences among user-level threads and kernel-level thread, Assignment Help, Ask Question on Differences among user-level threads and kernel-level thread, Get Answer, Expert's Help, Differences among user-level threads and kernel-level thread Discussions

Write discussion on Differences among user-level threads and kernel-level thread
Your posts are moderated
Related Questions
Question: (a) (i) What is a microkernel? Describe the benefits of using microkernels. (ii) How does a microkernel-based operating system differ from a traditional operating

A system consists of 10 units of resource class Ru. The resource needs of three user processes P1, P2 and P3 are like this                     Using Banker's algorithm, de

Problem: (a) (i) Explain what a single system image is and how it is related to the concept of a distributed operating system? (ii) What are the main differences between a

Discuss the risks of having a single root user

Explain the ExitThread Function used in the Windows NT ExitThread(ExitCode) The ExitThread( ) call is made to end the currently running thread. If the current thread is th

Q. Define the difference among pre-emptive and non pre-emptive scheduling. Answer: Pre-emptive scheduling permits a process to be interrupted in the midst of its execution ta

Explain the Novell NetWare     NetWare doesn't really have the concept of processes in the architecture, as  the most closely associated element in the NetWare  environment to

why some companies do not pay sufficient attention to staff induction

Question: (a) Explain the similarities and differences between two different threads running in the same process and two independent processes. When would you want to use two t

The physical memory acts as a cache backed by the disk. When the physical memory is full, and we want to read in another page from disk, we have to evict a page from physical memor