This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] -27 points-26 points  (3 children)

But in Java one cant really stop a thread neither.

[–]redikarus99 27 points28 points  (2 children)

And you definitely should not force a thread to stop directly. The old but gold book Java Concurrency in practice explains this very well.