[jboss-dev-forums] [Design of JCA on JBoss] - Re: Pottential race condition in PoolFiller

genman do-not-reply at jboss.com
Tue Feb 20 12:22:51 EST 2007


All calls to "wait()" should be proceeded by a "while" test.

http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait()


  | while (pools.isEmpty())
  |    pools.wait();
  | 

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4019453



More information about the jboss-dev-forums mailing list