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

Add support for bitwise operations on AtomicWord

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.12
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • Fully Compatible
    • Service Arch 2019-05-20, Service Arch 2019-06-03

      AtomicWord offers a slightly less dangerous, doesn't require lint, access to std::atomic's.

      While that interface currently doesn't offer access to bit operations, the extra cognitive load to understand those correctly is substantially simpler than the main thing AtomicWord hides (access to non sequential consistency).

      Thus, let's add bitwise operators for unsigned atomic words

            Assignee:
            mira.carey@mongodb.com Mira Carey
            Reporter:
            mira.carey@mongodb.com Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: