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

chore: remove mutex #4617

Merged
merged 2 commits into from
Sep 6, 2022

Conversation

SWvheerden
Copy link
Collaborator

Description

Removes mutex added in #4613

Motivation and Context

While the race condition is definitely possible in code, all code from the OMS runs synchronously, as shown by the fact that almost all functions have &mut self and rust blocks mut borrow across threads. This means that there is no race condition possible as this is all called synchronously.

How Has This Been Tested?

@stringhandler stringhandler merged commit 50d46a6 into tari-project:development Sep 6, 2022
@SWvheerden SWvheerden deleted the sw_remove_mutex branch September 7, 2022 07:27
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