[SERVER-79865] Upgrade Win32 spinlock.h implementation to SRW locks Created: 08/Aug/23  Updated: 15/Aug/23

Status: Backlog
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Billy Donahue Assignee: Backlog - Service Architecture
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-79655 missing winnt.h include in platform/p... Backlog
Assigned Teams:
Service Arch
Operating System: ALL
Participants:

 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


Generated at Thu Feb 08 06:42:07 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.