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

Add async mutex around syncing #813

Merged
merged 1 commit into from
Oct 30, 2023
Merged

Add async mutex around syncing #813

merged 1 commit into from
Oct 30, 2023

Conversation

benthecarman
Copy link
Collaborator

This fixes the borrowed mut error for me. What was happening was the no-std mutex around monitors would borrowed twice at the same time causing the error. We can get around this by just using the async mutex before the no-std mutexs are called, preventing them from erroring.

@TonyGiorgio TonyGiorgio merged commit c574f0b into master Oct 30, 2023
9 checks passed
@TonyGiorgio TonyGiorgio deleted the sync-lock branch October 30, 2023 22:53
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