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

Add support for bitwise operations on AtomicWord

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.1.12
    • None
    • Internal Code
    • None
    • Fully Compatible
    • Service Arch 2019-05-20, Service Arch 2019-06-03

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: