Skip to content

CDRIVER-3514 Fix Windows shared mutex unlocking #1445

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 16, 2023

Conversation

kkloberdanz
Copy link
Contributor

Unlike a POSIX read/write lock, in which both a read lock and a write lock are unlocked by the same function, Windows requires that a read lock is unlocked by a different function than a write lock.

Unlike a POSIX read/write lock, in which both a read lock and a write
lock are unlocked by the same function, Windows requires that a read
lock is unlocked by a different function than a write lock.
@kkloberdanz kkloberdanz requested a review from kevinAlbs October 16, 2023 18:17
@kkloberdanz kkloberdanz marked this pull request as ready for review October 16, 2023 18:17
@kevinAlbs kevinAlbs changed the title Fix Windows shared mutex unlocking CDRIVER-3514 Fix Windows shared mutex unlocking Oct 16, 2023
Copy link
Collaborator

@kevinAlbs kevinAlbs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. LGTM

@kkloberdanz kkloberdanz merged commit 2baa45c into mongodb:master Oct 16, 2023
@kkloberdanz kkloberdanz deleted the fix-windows-unlocking branch October 16, 2023 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants