gh-99108: Release the GIL around hashlib built-in computation by gpshead · Pull Request #104675 · python/cpython
added 2 commits
gpshead
changed the title
gh-99108: Release the GIL around hashlib built-in hash updates.
gh-99108: Release the GIL around hashlib built-in computation
gpshead
marked this pull request as ready for review
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request
…ythonGH-104675) This matches the GIL releasing behavior of our existing `_hashopenssl` module, extending it to the HACL* built-ins. Includes adding comments to better describe the ENTER/LEAVE macros purpose and explain the lock strategy in both existing and new code. (cherry picked from commit 2e5d8a9) Co-authored-by: Gregory P. Smith <greg@krypto.org>
gpshead
deleted the
hashlib_hacl_dropGIL
branch
gpshead added a commit that referenced this pull request
…H-104675) (#104776) gh-99108: Release the GIL around hashlib built-in computation (GH-104675) This matches the GIL releasing behavior of our existing `_hashopenssl` module, extending it to the HACL* built-ins. Includes adding comments to better describe the ENTER/LEAVE macros purpose and explain the lock strategy in both existing and new code. (cherry picked from commit 2e5d8a9) Co-authored-by: Gregory P. Smith [Google] <greg@krypto.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters