Two suggestions

(1) Stop writing code that relies on interrupting threads.  

(2) To avoid lost wake up problems, replace foo.notify() with something that 
stays signalled if there are no threads calling foo.wait().  Consider using a 
Semaphore or a BlockingQueue from util.concurrent / java.util.concurrent.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058489#4058489

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4058489
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to