commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedikt Ritter (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CHAIN-97) Make o.a.c.chain2.impl.ChainBase thread safe
Date Thu, 04 Jul 2013 19:25:48 GMT

     [ 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

Mime
View raw message