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

Remove all volatile storage types from server source code

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.2
    • Affects Version/s: None
    • Component/s: Internal Code
    • Labels:
      None
    • Fully Compatible
    • Platforms 2017-01-23

      As of C++11, volatile storage types very clearly exist only for memory mapped registers (device drivers), and do not have any special semantics for multithreaded code. As a result, we should remove all uses of volatile storage types. At the same time, we should adjust the flags we pass to MSVC to include /volatile:iso, to make its behavior consistent with the standard and to improve performance.

            Assignee:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Reporter:
            schwerin@mongodb.com Andy Schwerin
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: