WebSafe 3.7github.com
|
|
🏠
Skip to content

gh-127945: add locking to malloc closure in free-threading#131662

Merged
kumaraditya303 merged 1 commit intopython:mainfrom
kumaraditya303:malloc-lock
Mar 25, 2025
Merged

gh-127945: add locking to malloc closure in free-threading#131662
kumaraditya303 merged 1 commit intopython:mainfrom
kumaraditya303:malloc-lock

Conversation

@kumaraditya303
Copy link
Contributor

@kumaraditya303 kumaraditya303 commented Mar 24, 2025

The freelist is not thread safe in free-threading so this adds lock around it make it thread safe in free-threading.

@kumaraditya303 kumaraditya303 merged commit 96ef4c5 into python:main Mar 25, 2025
41 checks passed
@kumaraditya303 kumaraditya303 deleted the malloc-lock branch March 25, 2025 11:18
diegorusso pushed a commit to diegorusso/cpython that referenced this pull request Apr 1, 2025
…hon#131662)

The freelist is not thread safe in free-threading so this adds lock around it make it thread safe in free-threading.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Comments