[jboss-dev-forums] [JBoss AS7 Development] - Re: can I avoid a service to block as7 startup ?
Dan Sirbu
do-not-reply at jboss.com
Tue Oct 11 15:09:06 EDT 2011
Dan Sirbu [http://community.jboss.org/people/lmcdasi] created the discussion
"Re: can I avoid a service to block as7 startup ?"
To view the discussion, visit: http://community.jboss.org/message/631227#631227
--------------------------------------------------------------
One extra question though - let's say I have multiple tasks that can be blocking, then based on what you mentioned earlier I can use a thread pool to kickstart each task. So far so good. The question is : when to call "complete" ? Should I call complete on every thread that had a blocking operation ?
Or I will have to make it one time after each thread finishes ?
Just to complete such a case scenario and understand the full complexity. Thanks!
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/631227#631227]
Start a new discussion in JBoss AS7 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20111011/aa81b8b2/attachment.html
More information about the jboss-dev-forums
mailing list