April 2023
Intermediate to advanced
328 pages
8h 31m
English
In this appendix, we’ll discuss the basics of threads in a Java app. A thread is an independent sequential set of instructions your app runs. Operations on a given thread run concurrently with those on other threads. Any Java app today relies on having multiple threads, so it’s almost impossible not to get into investigation scenarios where you have to more deeply understand why specific threads don’t do what they should or don’t easily collaborate with other threads. That’s why you’ll find threads in several discussions throughout this book (especially chapters 7 to 9, but also here and there in the first half of the book when we discuss debugging). To properly understand these discussions, you need to ...
Read now
Unlock full access