Java Threads problems

Can Any body explain the various  scenario where a thread doesn't die when it actually is supposed to be die the thread in java

karunakarrreddyAsked:
Who is Participating?
 
ashwanilabsCommented:
There can be one scenario as below:-
In multithreaded code, it is often common to use a single, master thread that drives the actions the other threads take. This master thread may send messages, often by placing them on a queue, that are then processed by the other threads. But if the master thread throws an exception, the remaining threads may continue to run, awaiting more input to the queue, causing the program to freeze.
0
 
Computer101Commented:
Forced accept.

Computer101
EE Admin
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.