Skip to content

Change PyThread_allocate_lock() implementation to PyMutex #134745

Closed
@vstinner

Description

@vstinner

Feature or enhancement

Proposal:

PyMutex is a fast and portable lock implementation. I propose to change the PyThread_allocate_lock() implementation to reuse PyMutex.

Has this already been discussed elsewhere?

No response given

Links to previous discussion of this feature:

No response

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    interpreter-core(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions