Skip to content
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

unlock all fd mutexes in reverse order #87

Merged
merged 1 commit into from
Jan 22, 2020
Merged

unlock all fd mutexes in reverse order #87

merged 1 commit into from
Jan 22, 2020

Conversation

cjihrig
Copy link
Collaborator

@cjihrig cjihrig commented Jan 21, 2020

Some functions acquire mutexes for multiple file descriptors.
This commit ensures that the mutexes are released in the
reverse order that they are acquired.

Refs: nodejs/node#31432 (review)

Some functions acquire mutexes for multiple file descriptors.
This commit ensures that the mutexes are released in the
reverse order that they are aquired.
@cjihrig cjihrig merged commit ea73af5 into master Jan 22, 2020
@cjihrig cjihrig deleted the locks branch January 22, 2020 00:38
This was referenced Mar 14, 2020
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.

3 participants