[jboss-dev-forums] [JBoss AS7 Development] - Re: Please javadoc concurrency semantics
David Lloyd
do-not-reply at jboss.com
Thu Nov 11 15:44:53 EST 2010
David Lloyd [http://community.jboss.org/people/david.lloyd%40jboss.com] created the discussion
"Re: Please javadoc concurrency semantics"
To view the discussion, visit: http://community.jboss.org/message/570853#570853
--------------------------------------------------------------
Services can be started and stopped from any thread, and mutable state can be accessed from any thread. The ones with synchronized methods simply use it as a thread safety mechanism for their mutable state. CreateDestroyService and friends have no mutable state, thus there's no need for them to be synchronized.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/570853#570853]
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/20101111/4b4024b4/attachment.html
More information about the jboss-dev-forums
mailing list