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

Make bindings threadsafe #254

Open
alexcrichton opened this issue Oct 21, 2024 · 0 comments
Open

Make bindings threadsafe #254

alexcrichton opened this issue Oct 21, 2024 · 0 comments

Comments

@alexcrichton
Copy link
Member

Currently the bindings in this repository are not thread safe. This means it's possible to write Python code that's susceptible to race conditions and memory corruption. This is due to the fact that there are no locks in use by this library and the C API does not internally uphold thread-safety invariants, that's left to embedders.

There's some more discussion of this here and here

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

No branches or pull requests

1 participant