Author Topic:   Threads.......interrupt() method
Anand M S
greenhorn
posted March 17, 2000 09:47 PM             
Hi All,

Does interrupt() method stops the thread from executing??
As per my knowledge it will wakeup the waiting thread, right?
if I am wrong pl correct me

Thanks,
Anand

maha anna
bartender
posted March 17, 2000 10:19 PM             
No. It will not stop executing. The thread which called this interrupt() continues as usual. The thread on which the interrupt() is invoked may/may not respond to this interruption. There is a detailed discussion here. You may want to refer to this. Also if you search this forum using the search facility at the top-right corner of each page, with 'interrupt()' keyword you may find many interesting discussions.
regds
maha anna

|