Java Multithreading, Concurrency, and Parallelism — Part 11

KRISHNA KISHORE V
8 min readJan 10, 2022

The interrupts

In part-10 we have seen the behavior of wait & notify and their purpose in multithreaded programming. Here we will see yet another small concept that most people get confused about — The Interrupts

An interrupt is an indication to a thread that it should stop what it is doing and do something else. It’s up to the programmer to decide exactly how a thread responds to an interrupt, but it is very common practice to make the thread stop.

--

--

KRISHNA KISHORE V

Full Stack Tech Lead | Software Consultant | Technical Content Writer