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] [Created] (CHAIN-97) Make o.a.c.chain2.impl.ChainBase thread safe
Date Thu, 20 Jun 2013 11:01:22 GMT
Benedikt Ritter created CHAIN-97:
------------------------------------

             Summary: 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
            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