[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Locks on MainDeployerImpl
alesj
do-not-reply at jboss.com
Fri Feb 20 07:48:07 EST 2009
"alesj" wrote : I guess if I just write lock the deploy and undeploy lists processing, you should be fine.
|
This is not fully sufficient either,
as one could do addDeployment in between the two write locks in process(),
and if this new deployment would actually be re-deploy,
we would only pick up its deploy part, but not the undeploy part. :-(
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4211782#4211782
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4211782
More information about the jboss-dev-forums
mailing list