[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Declaration and deployment of threads and thread pools i

adrian@jboss.org do-not-reply at jboss.com
Thu Nov 6 08:51:04 EST 2008


"adrian at jboss.org" wrote : 
  | 4) Thread 1: Submit some work - pool is busy so wait
  | 

NOTE: Without this requirement in step 4 which isn't a policy available in java.util.concurrent
you can't have the race condition. The submission of the work will either
throw an error immediately, after a timeout or run the work on Thread 1

But for an MDB singleton none of those options are what we want. ;-)

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

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



More information about the jboss-dev-forums mailing list