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

Create a lock struct for the mls groups #1413

Closed
wants to merge 16 commits into from
Closed

Conversation

codabrink
Copy link
Contributor

No description provided.

@codabrink codabrink marked this pull request as ready for review December 16, 2024 16:01
@codabrink codabrink requested a review from a team as a code owner December 16, 2024 16:01
.clone();

// this may block
let lock = mutex.blocking_lock();
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we ever use this variant?

I'm surprised the webassembly tests pass, under the hood this uses futures::block_on which will panic the WASM executor. I suspect we maybe don't have any webassembly tests that use code touching the lock

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We do not, it's just there in case it's used in the future.

@codabrink
Copy link
Contributor Author

Going to close my PR in favor of @cameronvoell's PR which seems to fix the root issue #1416

@codabrink codabrink closed this Dec 16, 2024
@codabrink codabrink deleted the cb/thread-safety branch December 16, 2024 16:48
@codabrink codabrink restored the cb/thread-safety branch December 16, 2024 21:15
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