Skip to content

<new>: SRWLOCK to protect the new handler instead of an indexed CRITICAL_SECTION#4407

Merged
StephanTLavavej merged 4 commits intomicrosoft:mainfrom
AlexGuteniev:slim
Feb 27, 2024
Merged

<new>: SRWLOCK to protect the new handler instead of an indexed CRITICAL_SECTION#4407
StephanTLavavej merged 4 commits intomicrosoft:mainfrom
AlexGuteniev:slim

Conversation

@AlexGuteniev
Copy link
Contributor

Towards #3521

After finally making both constructor of std::mutex constexpr and its destructor trivial, it is should be fine to use usual mutexes everywhere!

...instead of an indexed `CRITICAL_SECTION`
@AlexGuteniev AlexGuteniev requested a review from a team as a code owner February 18, 2024 10:10
@StephanTLavavej StephanTLavavej added the performance Must go faster label Feb 18, 2024
@StephanTLavavej StephanTLavavej self-assigned this Feb 18, 2024
@StephanTLavavej
Copy link
Member

I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.

@StephanTLavavej StephanTLavavej merged commit 88fe449 into microsoft:main Feb 27, 2024
@StephanTLavavej
Copy link
Member

Thanks for noticing and improving the performance here! 🦅 👁️ 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

performance Must go faster

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants

Comments