Can u kill thread manually. What is the disadvantage

Showing Answers 1 - 2 of 2 Answers

kalya

  • May 22nd, 2006
 

yes. if done so, the process by that thread may be stopped without completion.

  Was this answer useful?  Yes

You can stop (kill) a thread by calling the method 'stop()' on the thread object. But it is not preferable to kill a thread, because it may cause system failure when writing to important data structures.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions