Skip to content

RUST-1384 Impl Send for Ctx #11

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

Merged
merged 2 commits into from
Aug 4, 2022
Merged

Conversation

abr-egn
Copy link
Contributor

@abr-egn abr-egn commented Aug 4, 2022

RUST-1384

Patrick tracked down the actual thread properties of mongocrypt_ctx_t and happily it's not as restrictive as the docs make it seem 🙂

Usage also requires Send and Sync for the KmsScope type; those should have been there before, as fanning out mongocrypt_kms_ctx_t requests is explicitly threadsafe.

@abr-egn abr-egn merged commit aeb8893 into mongodb:main Aug 4, 2022
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.

4 participants