what are the Architectural differences between User-space
threads, and Kernel-supported threads.



what are the Architectural differences between User-space threads, and Kernel-supported threads. ..

Answer / guest

User-space threads live without any support from the
kernel; they maintain all of their state in user space.
Since the kernel does not know about them, they cannot be
scheduled to run on multiple processors in parallel.
Kernel-supported threads fall into two classes.

In a "pure" kernel-supported system, the kernel is
responsible for scheduling all threads.

Systems in which the kernel cooperates with a user-level
library to do scheduling are known as two-level, or hybrid,
systems. Typically, the kernel schedules LWPs, and the user-
level library schedules threads onto LWPs.
Because of its performance problems (caused by the need to
cross the user/kernel protection boundary twice for every
thread context switch), the former class has fewer members
than does the latter (at least on Unix variants). Both
classes allow threads to be run across multiple processors
in parallel.

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More Unix Threads Interview Questions

tell me similarities between thread and process

4 Answers   Tanla Solutions,


Tell me when should we use thread-safe "_r" library calls?

0 Answers  


Explain what are the main families of threads?

0 Answers  


Explain how to work unix commands on windows xp without installing unix o/s in pc?

0 Answers  


what are the Performance differences between User-space threads and Kernel-supported threads.

1 Answers  






Protection boundary??

1 Answers  


what is Scheduling?

3 Answers   Hexaware,


Explain similarities between thread and process?

0 Answers  


what are the Architectural differences between User-space threads, and Kernel-supported threads.

1 Answers  


HOW can I work UNIX commands on Windows XP without installing UNIX O/S in PC

8 Answers   TCL,


List the system calls used for process management?

0 Answers  


Explain the architectural differences between user-space threads, and kernel-supported threads?

0 Answers  


Categories