definition of User-Level Thread?, Basic Computer Science

Assignment Help:
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.

Related Discussions:- definition of User-Level Thread?

Outdoor patient department features - receptionist module, Outdoor Patient...

Outdoor Patient Department (OPD) Features The following modules can be developed for various areas and workers. A receptionist Module Receptionist updates all bas

Internetworking, You have been approached by Company XYZ to design and depl...

You have been approached by Company XYZ to design and deploy a new network that will span three cities in Queensland: Brisbane (12 users), Gold Coast (8 users), and Cairns (6 users

Processor, Processor: Processor plays major role in a computer. One sh...

Processor: Processor plays major role in a computer. One should carefully decide about the type of processor and its speed before making a choice. Currently Core 2 Duo process

Integers, what is the size of a void integer and what is it''s range

what is the size of a void integer and what is it''s range

List two i/o virtualization methods, Question 1 List two I/O virtualizatio...

Question 1 List two I/O virtualization methods. Based on different features compare these two methods Question 2 Discuss three areas considered by organizations to secure the

Data output, DATA OUTPUT : Whatever, data or information that you feed int...

DATA OUTPUT : Whatever, data or information that you feed into a computer will be the data output from a computer system and will be a data file sent from the computer to a periph

CIS247 week6 Lab., Modify the class declaration of the Employee class to sp...

Modify the class declaration of the Employee class to specify that the Employee class is an abstract class Declare an abstract method called CalculateNetPay that returns a double v

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd