Upgrade Win32 spinlock.h implementation to SRW locks

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Server Programmability
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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

            Assignee:
            Unassigned
            Reporter:
            Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: