Organization of This Book
Here’s an outline of the book, showing the progression of the material we present. The material in the appendixes is generally either too immature to present fully or is mostly of academic interest, although it may be useful in rare cases.
- Chapter 1
This chapter introduces the concept of threads and the terms we use in the book.
- Chapter 2
This chapter introduces the Java API that allows the programmer to create threads.
- Chapter 3
This chapter introduces the simple locking mechanism that Java developers can use to synchronize access to data and code.
- Chapter 4
This chapter introduces the other Java mechanism that developers use to synchronize access to data and code.
- Chapter 5
This chapter summarizes the techniques presented in the previous chapters. Unlike the earlier chapters, this chapter is solutions oriented: the examples give you an idea of how to put together the basic threading techniques that have been presented so far, and provide some insight into designing effectively using threads.
- Chapter 6
This chapter introduces the Java API that controls how threads are scheduled by the virtual machine, including a discussion of scheduling differences between different implementations of the virtual machine.
- Chapter 7
This chapter provides examples that extend Java’s scheduling model, including techniques to provide round-robin scheduling and thread pooling.
- Chapter 8
This chapter discusses various advanced topics related to data synchronization, including ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access