Skip to content

Change PyThread_allocate_lock() implementation to PyMutex #134745

Closed

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

Activity

  1. added 2 commits that reference this issue on May 26, 2025
  2. added a commit that references this issue on May 27, 2025
  3. changed the title [-]Implement Python threads (threading.Lock) with PyMutex[/-] [+]Change PyThread_allocate_lock() implementation to PyMutex[/+] on May 27, 2025
  4. added a commit that references this issue on May 30, 2025
  5. added a commit that references this issue on Jul 12, 2025
  6. added a commit that references this issue on Aug 4, 2025
  7. added 2 commits that reference this issue on Nov 6, 2025
  8. added a commit that references this issue on Nov 6, 2025
  9. added a commit that references this issue on Dec 6, 2025
  10. added a commit that references this issue on Jun 2, 2026
  11. added 2 commits that reference this issue on Jul 24, 2026
  12. added a commit that references this issue on Aug 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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