Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

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

832


What is protection boundary?

1031


What is the window of the working set of a process?

1013


Explain what is critical section?

919


Explain similarities between thread and process?

925


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

905


How would you kill a process?

979


Explain the different kinds of threads?

976


Explain the performance differences between user-space threads and kernel-supported threads.?

1131


Explain critical section?

993


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

956


What is the working set of a process?

977


If your server is running on Unix and one of the sessions are keep on running without loading any data. how would you kill it?

1050


Explain what is protection boundary?

970


Explain what are threads?

990