Uploaded image for project: 'Commons Chain'
  1. Commons Chain
  2. CHAIN-97

Make o.a.c.chain2.impl.ChainBase thread safe

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 2.0
    • Base
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            britter Benedikt Ritter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: