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

Remove SimpleMutex

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Service Arch

    Description

      Remove SimpleMutex as it no longer provides a benefit over std::mutex on Windows. It used to be that SimpleMutex was better then boost::mutex. Since boost::mutex is no longer used in the code base, SimpleMutex no longer provides a benefit. On Windows, std::mutex is implemented with the more efficient Slim Reader/Write Lock instead of CriticalSection.

       

      It is located in src/mongo/util/concurrency/mutex.h.

      Attachments

        Activity

          People

            backlog-server-servicearch Backlog - Service Architecture
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: