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

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.2.0-rc1
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • Fully Compatible

      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.

            Assignee:
            schwerin@mongodb.com Andy Schwerin
            Reporter:
            schwerin@mongodb.com Andy Schwerin
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: