Skip to content

gh-112529: Use _PyThread_Id() in mimalloc (free-threaded build) - #115488

Merged
colesbury merged 1 commit into
python:mainfrom
colesbury:gh-112529-thread-id
Feb 14, 2024
Merged

colesbury merged 1 commit into
python:mainfrom
colesbury:gh-112529-thread-id

Conversation

@colesbury

@colesbury colesbury commented Feb 14, 2024 •

Copy link
Copy Markdown
Contributor

The free-threaded GC uses mimallocs segment thread IDs to restore the overwritten ob_tid thread ids in PyObjects. For that reason, it's important that PyObjects and mimalloc use the same identifiers.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants