Skip to content

Make bindings threadsafe #254

@alexcrichton

Description

@alexcrichton

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions