Skip to content

Improve multithreaded support and testing #9

@ngoldbaum

Description

@ngoldbaum

Proposal:

The zstandard wrappers should be thread-safe and should not allow any multithreaded use (particularly under the free-threaded build) that is not considered safe by the zstandard C library.

Another thing to look at is using TSAN to verify thread safety in the C extension. I don't know offhand about if you have to do anything special to use TSAN with new tests in the CPython test suite.

Has this already been discussed elsewhere?

No response given

Links to previous discussion of this feature:

Rogdham/pyzstd#32 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions