Unix Threads Question: Download Unix Threads PDF

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

Tweet Share WhatsApp

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 PDF Read All 12 Unix Threads Questions
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?