Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-2155

Remove F_CAS_ATOMIC

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • None
    • WT2.7.0
    • None
    • None

    Description

      There is only one place left in the code that uses the F_CAS_ATOMIC macro - in the cache pool implementation.

      That code only needs a single flag in the fields structure to be atomic, so the compare and swap might as well happen on a specific field, rather than a flags variable.

      Attachments

        Issue Links

          Activity

            People

              alexander.gorrod@mongodb.com Alexander Gorrod
              alexander.gorrod@mongodb.com Alexander Gorrod
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: