On 2002.02.21 17:36:46 -0500 Dain Sundstrom wrote:
> > I'm no threading expert, but I can't find any way of communicating with
> 
> 
> > the hung thread to force it to return.
> 
> 
> thread.interrupt() works in most cases.  It causes the thread to throw 
> an InterruptedException.

I think this is only if the thread is wait()ing or sleep()ing. If it is
waiting for IO (like a db response) it's not guaranteed or likely to do
anything-- at least this is what "The Java Programming Language, 3rd ed."
says pretty explicitly.

david jencks
> 
> -dain
> 
> 
> 
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development
> 
> 

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to