diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-05-23 11:24:02 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-23 11:24:02 (GMT) |
commit | 9aea1f28e2d22dd8650f6153eb5630ffd250d3c8 (patch) | |
tree | 3d4c0b3317818e8aa093efa6488e3ea00faf01f5 /Python/Python-tokenize.c | |
parent | e43fbbd92884ad167cdaea296526c671f593b234 (diff) | |
download | cpython-9aea1f28e2d22dd8650f6153eb5630ffd250d3c8.zip cpython-9aea1f28e2d22dd8650f6153eb5630ffd250d3c8.tar.gz cpython-9aea1f28e2d22dd8650f6153eb5630ffd250d3c8.tar.bz2 |
[3.12] gh-99108: Release the GIL around hashlib built-in computation (GH-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 2e5d8a90aa633ff0bebc9b2b8e21eea389937b19)
Co-authored-by: Gregory P. Smith [Google] <greg@krypto.org>
Diffstat (limited to 'Python/Python-tokenize.c')
0 files changed, 0 insertions, 0 deletions