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

XMLWordPrintableJSON

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

      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:
              Shaileja Jain (Inactive)
              Reporter:
              Mira Carey
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: