Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-40004

Change the signature of AtomicWord::compareAndSwap to mimic the implementation

    • Fully Compatible
    • v4.2
    • Service Arch 2019-06-03, Service Arch 2019-06-17

      AtomicWord::compareAndSwap calls down to std::atomic::compare_exchange_strong. It would be a bit easier to use if its api reflected that (and returned a boolean, instead of compare_exchange_strong's expected out parameter).

            Assignee:
            shelley.jain@mongodb.com Shaileja Jain (Inactive)
            Reporter:
            mira.carey@mongodb.com Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: