Skip to content

More specific assertion for unlocking mutex not owned by the current thread#5099

Merged
StephanTLavavej merged 2 commits intomicrosoft:mainfrom
AlexGuteniev:mutex-is-not-semaphore
Nov 22, 2024
Merged

More specific assertion for unlocking mutex not owned by the current thread#5099
StephanTLavavej merged 2 commits intomicrosoft:mainfrom
AlexGuteniev:mutex-is-not-semaphore

Conversation

@AlexGuteniev
Copy link
Contributor

Inspired by #4418 (comment)

@AlexGuteniev AlexGuteniev requested a review from a team as a code owner November 19, 2024 08:41
@StephanTLavavej StephanTLavavej added the enhancement Something can be improved label Nov 19, 2024
@StephanTLavavej StephanTLavavej self-assigned this Nov 19, 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 9b8a09a into microsoft:main Nov 22, 2024
@StephanTLavavej
Copy link
Member

Thanks for improving this diagnostic! 🔒 🔑 🔓

@AlexGuteniev AlexGuteniev deleted the mutex-is-not-semaphore branch November 22, 2024 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Something can be improved

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants