stason.org logo lotus


previous page: 6.1. Architectural differences (Programming threads)page up: Threads Programming FAQnext page: 6.3. Potential problems with functionality (Programming threads)

6.2. Performance differences (Programming threads)

 Books
 TULARC
















Description

This article is from the Threads Programming FAQ, by Bryan O'Sullivan bos@serpentine.com with numerous contributions by others.

6.2. Performance differences (Programming threads)

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.

 

Continue to:


Share and Enjoy

Bookmark this story so others can enjoy it:
  • digg
  • Reddit
  • del.icio.us
  • Furl
  • Wists

Tags

programming, software, coding, threads programming







TOP
previous page: 6.1. Architectural differences (Programming threads)page up: Threads Programming FAQnext page: 6.3. Potential problems with functionality (Programming threads)