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

Replace all uses of std::atomic with AtomicWord and add a lint rule

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0-rc1
    • Component/s: Internal Code
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible

      Description

      AtomicWord<T> is the stylish way to work with atomic word types, rather than std::atomic, because it omits confusing implicit type conversions. This ticket is to add a lint rule to prohibit std::atomic and remove existing uses.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: