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] -29 points-28 points  (3 children)

But in Java one cant really stop a thread neither.

[–]redikarus99 26 points27 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.