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

Remove F_CAS_ATOMIC

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • WT2.7.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      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.

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

              Created:
              Updated:
              Resolved: