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

Add note explicitly recommending PyMutex over PyThread_type_lock #72

Merged

Conversation

lysnikolaou
Copy link
Collaborator

Needed because the linked NumPy PR uses PyThread_type_lock. Also link to the PR that replaced that with PyMutex.

Needed because the linked NumPy PR uses `PyThread_type_lock`. Also link
to the PR that replaced that with `PyMutex`.
@ngoldbaum
Copy link
Collaborator

I think that makes things clearer. Probably worth adding a whole section with a canned example so people don't need to dive through old PR diffs but we can do that later. Also hopefully not that many people need to worry about the guts of thread-unsafe C extensions like this!

@ngoldbaum ngoldbaum merged commit 85922f1 into Quansight-Labs:main Sep 4, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants