You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Benedikt Ritter (JIRA)" <ji...@apache.org> on 2013/07/04 21:25:48 UTC
[jira] [Updated] (CHAIN-97) Make o.a.c.chain2.impl.ChainBase thread
safe
[ https://issues.apache.org/jira/browse/CHAIN-97?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benedikt Ritter updated CHAIN-97:
---------------------------------
Component/s: Base
> Make o.a.c.chain2.impl.ChainBase thread safe
> --------------------------------------------
>
> Key: CHAIN-97
> URL: https://issues.apache.org/jira/browse/CHAIN-97
> Project: Commons Chain
> Issue Type: Improvement
> Components: Base
> Reporter: Benedikt Ritter
>
> ChainBase is not thread safe. For example there is a race condition in {{addCommand(CMD)}} where. The current implementation first checks the flag frozen and then acts based on the value of frozen. Another thread may have already altered the value of frozen.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira