O'Reilly logo

Java 9 Concurrency Cookbook - Second Edition by Javier Fernández González

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Thread Management

In this chapter, we will cover the following topics:

  • Creating, running, and setting the characteristics of a thread
  • Interrupting a thread
  • Controlling the interruption of a thread
  • Sleeping and resuming a thread
  • Waiting for the finalization of a thread
  • Creating and running a daemon thread
  • Processing uncontrolled exceptions in a thread
  • Using thread local variables
  • Grouping threads and processing uncontrolled exceptions in a group of threads
  • Creating threads through a factory

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required