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?

Memory, what is cache memory

what is cache memory

Define Program formation process, For the formation of a program it is nece...

For the formation of a program it is necessary to follow five steps: Design of the algorithm, stage the problem to be solved is reputable and the best solution is proposed, creatin

Types of computer on basis of size and capabilities, Another way of classif...

Another way of classifying a computer system is based upon its size and capabilities: Microcomputers: Microcomputers are systems based on the use of microprocessors. A Micr

Artificial intelligence-long term goals, Simple Tasks to Accomplish Once...

Simple Tasks to Accomplish Once you've worried for why you're performing AI, what has inspired you and how you're going to approach the job, then you can initialize to think for

Assignment, I have an assignment i need it to get it done How much would I...

I have an assignment i need it to get it done How much would I be charged for that?

Advantages of computerized record-keeping, Advantages of Computerized Reco...

Advantages of Computerized Record-keeping Less manpower is required for upkeep.  Recording, storing, and retrieving are all much faster: easier and with little practice

Technology, We normally think of the arts as very different from technologi...

We normally think of the arts as very different from technologies in spite of the fact that art (with perhaps a few exceptions) is practiced with the help of technology. This pract

Pseudocode, How Much Insurance? Many financial experts advise that property...

How Much Insurance? Many financial experts advise that property owners should insure their homes or buildings for at least 80 percent of the amount it would cost to replace the st

Pipelining, tellme the types of pipelining

tellme the types of pipelining

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