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

Remove unnecessary unlock/lock of a mutex #4416

Merged

Conversation

dsiganos
Copy link
Contributor

node.final_generator.add() used to do further work in the same context and there was the possibility of a deadlock.
But now it just adds to a queue so there should not be a deadlock danger. So the lock/unlock should not be needed.

node.final_generator.add() used to do further work in the same context
and there was the possibility of a deadlock.
But now it just adds to a queue so there should not be a deadlock danger.
So the lock/unlock should not be needed.
@dsiganos dsiganos merged commit b1be785 into nanocurrency:develop Feb 1, 2024
18 of 19 checks passed
@dsiganos dsiganos deleted the remove_needless_mutex_unlock_lock branch February 1, 2024 11:32
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