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

Upgrade Win32 spinlock.h implementation to SRW locks

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Service Arch
    • ALL

    Description

      The spinlock in util/concurrency/spinlock.h uses a CRITICAL_SECTION on Windows.

      mark.benvenuto@mongodb.com writes:

      https://learn.microsoft.com/en-us/windows/win32/sync/slim-reader-writer--srw--locks
      This would be better.
      But it was not always possible since we had to support older OS in the past
      Though we could have upgraded years ago

      Attachments

        Activity

          People

            backlog-server-servicearch Backlog - Service Architecture
            billy.donahue@mongodb.com Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: