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

bug 1710990 - Don't take the Global Glean's lock while holding MPS's condvar lock #1637

Merged
merged 1 commit into from
May 17, 2021

Conversation

chutten
Copy link
Contributor

@chutten chutten commented May 13, 2021

The correct lock order is 1) Global Glean 2) MPS' condvar's cancelled lock.

…condvar lock r?janerik

The correct lock order is 1) Global Glean 2) MPS' condvar's cancelled lock.
@chutten chutten requested a review from badboy May 13, 2021 19:34
@auto-assign auto-assign bot requested a review from brizental May 13, 2021 19:34
@chutten
Copy link
Contributor Author

chutten commented May 13, 2021

Try run: https://treeherder.mozilla.org/jobs?repo=try&tier=1%2C2%2C3&revision=7cc31b00b350d78599f767c8e852c730ef5f4812

May have to run it a bunch of times because it's an intermittent.

Copy link
Member

@badboy badboy left a comment

Choose a reason for hiding this comment

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

Looks good to me.
Gosh, locking code is hard.

@chutten chutten merged commit 8f54e91 into mozilla:main May 17, 2021
@chutten chutten deleted the bug1710990-lockOrderInversionMPS branch May 17, 2021 14:21
chutten added a commit that referenced this pull request May 17, 2021
chutten added a commit that referenced this pull request May 17, 2021
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