Skip to content
New issue

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

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

Already on GitHub? # to your account

fix: hold one lock at a time to avoid the deadlock in nested function #316

Merged
merged 1 commit into from
Mar 18, 2023

Conversation

kemingy
Copy link
Member

@kemingy kemingy commented Mar 18, 2023

No description provided.

@kemingy kemingy requested a review from lkevinzc March 18, 2023 16:36
@kemingy kemingy enabled auto-merge March 18, 2023 16:36
@kemingy kemingy disabled auto-merge March 18, 2023 16:45
@kemingy kemingy merged commit 0d51484 into mosecorg:main Mar 18, 2023
@kemingy kemingy deleted the one_lock branch March 18, 2023 16:45
@kemingy kemingy mentioned this pull request Mar 18, 2023
kemingy added a commit to kemingy/mosec that referenced this pull request Mar 20, 2023
kemingy added a commit that referenced this pull request Mar 20, 2023
* feat: change parking lot mutex to std mutex

Signed-off-by: Keming <kemingy94@gmail.com>

* fix: hold one lock at a time to avoid the deadlock in nested function (#316)

Signed-off-by: Keming <kemingy94@gmail.com>

---------

Signed-off-by: Keming <kemingy94@gmail.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant