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

Get Java 9 Concurrency Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.