Unix Threads Question:
Download Questions PDF

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

Answer:

In terms of context switch time, user-space threads are the
fastest, with two-level threads coming next (all other
things being equal). However, if you have a multiprocessor,
user-level threads can only be run on a single CPU, while
both two-level and pure kernel-supported threads can be run
on multiple CPUs simultaneously.

Download Unix Threads Interview Questions And Answers PDF

Previous QuestionNext Question
When should we use thread-safe "_r" library calls?What are the Architectural differences between User-space threads, and Kernel-supported threads?