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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.2.0-rc1
    • None
    • Internal Code
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: