Skip to main content

Using Threads in Your Applications

  • Chapter
Pro Java Programming
  • 2168 Accesses

Summary

In this chapter, I cover the following topics:

  • Common reasons for using threads and some of the advantages and disadvantages of using them

  • How to create threads and manage their execution

  • How to synchronize access to resources that are used by multiple threads and how to prevent problems from occurring

  • Changes that occurred to the Thread class in Java 2 and how to modify your applications to take into account those changes

  • Java 5’s concurrency utilities

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

Access this chapter

eBook
USD 16.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.

Rights and permissions

Reprints and permissions

Copyright information

© 2005 Brett Spell

About this chapter

Cite this chapter

(2005). Using Threads in Your Applications. In: Pro Java Programming. Apress. https://doi.org/10.1007/978-1-4302-0032-1_3

Download citation

Publish with us

Policies and ethics