stason.org logo lotus


previous page: 3. What are threads? (Programming)page up: Threads Programming FAQnext page: 3.2. A little history (Programming threads)

3.1. Why are threads interesting? (Programming)

 Books
 TULARC
















Description

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

3.1. Why are threads interesting? (Programming)

A context switch between two threads in a single process is
"considerably" cheaper than a context switch between two processes. In
addition, the fact that all data except for stack and registers are
shared between threads makes them a natural vehicle for expressing
tasks that can be broken down into subtasks that can be run
cooperatively.

 

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: 3. What are threads? (Programming)page up: Threads Programming FAQnext page: 3.2. A little history (Programming threads)