Skip to main content

Understanding Threading

  • Chapter
Expert .NET 1.1 Programming
  • 317 Accesses

Abstract

Using multiple threads in a process is a common way of providing greater application responsiveness. On multiprocessor systems, extra threads (up to the number of processors) can increase performance by ensuring that all the processors are contributing simultaneously to the processing being carried out by the application. On single-processor systems, extra threads will not improve performance. Too many threads on any system can decrease performance (because of all the time the processor(s) spends thread swapping), but multithreading will improve responsiveness because the application can quickly swap from background processing to managing the user interface when the user does something. Using multiple threads also means that an application can carry on working while it’s waiting for outside events, such as waiting for data to be returned from a Hypertext Transfer Protocol (HTTP) network request.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2004 Simon Robinson

About this chapter

Cite this chapter

Robinson, S. (2004). Understanding Threading. In: Expert .NET 1.1 Programming. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-0726-9_9

Download citation

  • DOI: https://doi.org/10.1007/978-1-4302-0726-9_9

  • Publisher Name: Apress, Berkeley, CA

  • Print ISBN: 978-1-59059-222-9

  • Online ISBN: 978-1-4302-0726-9

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics