I want to start a thread, that does some work for me. If the thread doesn't finish within 5 seconds, i want to abort it. For a thread, that extends "Thread" this is no problem:
But how can I do that, when my thread doesn't extend "Thread" but implements "Runnable" ? Runnable doesn't support "join".
How can I generally kill running threads ?