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

Add support for bitwise operations on AtomicWord

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.12
    • Component/s: Internal Code
    • Labels:
      None

      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

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: