definition of User-Level Thread?, Basic Computer Science

User-level threads apply in user-level libraries, before via systems calls, so thread switching does not require to call operating system and to cause interrupt to the kernel. Actually, the kernel knows nothing about user-level threads and handles them as if they were single-threaded processes.
Advantages of User-Level Threads:
1. The most obvious benefit of this technique is that a user-level threads package can be implemented on an Operating System that does not support threads. Some other advantages are
2. A user-level thread does not require alteration to operating systems.
3. Straightforward Representation:
Each thread is represented simply by a registers, PC, stack and a small control block, all stored in the user process address space.
4. Fast and well-organized:
Thread switching is not much more costly than a procedure call.
5. Unproblematic Management:
This basically means that making a thread, switching between threads and synchronization between threads can all be done lacking of intervention of the kernel.

Disadvantages of User-Level Threads:
1. There is a short of coordination between threads and operating system kernel. Consequently, process as whole gets one time slice irrespective of whether process has one thread or 1000 threads within. It is up to every thread to relinquish control to other threads.
2. A user-level thread needs non-blocking systems call that means a multithreaded kernel. Or else, entire process will blocked in the kernel, even if there are run able threads left in the processes. For instance, if one thread causes a page fault, the process blocks.
Posted Date: 5/2/2012 7:02:15 AM | Location : United States







Related Discussions:- definition of User-Level Thread?, Assignment Help, Ask Question on definition of User-Level Thread?, Get Answer, Expert's Help, definition of User-Level Thread? Discussions

Write discussion on definition of User-Level Thread?
Your posts are moderated
Related Questions
Hanson websites are built to work for your business and are built on the concept of intelligent website. An intelligent website is more than just a brochure on the web. It allows y

Example of autonomous rational agents-Artificial intelligence The procedure of waste water treatment After the level of pollutants in waste water is find out,  following 5

Resource sharing is a concept which has developed to contain many cooperative activities among libraries and other stakeholders. Interlibrary loan continues to be the basis of reso

access,excel and ms word/

how much it cost for 8 week class

Where can I find power supply HIPRO HP-W460GC33 for Silicon Graphics Fuel computer

Optical Fibres: Coaxial cables have limitations such as broadband transmission medium which can be overcome by the use of optical fibres. Optical fibres carry light waves (rep

Question 1 Discuss the impacts of disaster faced by the organization Question 2 Explains the steps involved in disaster recovery planning Question 3 What do you mean by

A* Search-Artificial intelligence:   A* search combines the best parts of uniform cost search that  called the fact that it's optimal and complete, and the best parts of gre

Define explicit, implicit and parametric representation and what are their advantages?