diff options
author | 2018-09-07 09:06:15 -0300 | |
---|---|---|
committer | 2018-09-07 14:06:15 +0200 | |
commit | 23e65b25557f957af840cf8fe68e80659ce28629 (patch) | |
tree | 2401a515712164f1536892efd8e5f7fb1c0b87d8 /pyconfig.h.in | |
parent | Doc: Missing 'f' in an f-string. (GH-9074) (diff) | |
download | cpython-23e65b25557f957af840cf8fe68e80659ce28629.tar.gz cpython-23e65b25557f957af840cf8fe68e80659ce28629.tar.bz2 cpython-23e65b25557f957af840cf8fe68e80659ce28629.zip |
bpo-33625: Release GIL for grp.getgr{nam,gid} and pwd.getpw{nam,uid} (GH-7081)
Release GIL on grp.getgrnam(), grp.getgrgid(), pwd.getpwnam() and
pwd.getpwuid() if reentrant variants of these functions are available.
Patch by William Grzybowski.
Diffstat (limited to 'pyconfig.h.in')
-rw-r--r-- | pyconfig.h.in | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pyconfig.h.in b/pyconfig.h.in index a82c3737c3..4d3a4b995f 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -403,6 +403,12 @@ /* Define to 1 if you have the `getentropy' function. */ #undef HAVE_GETENTROPY +/* Define to 1 if you have the `getgrgid_r' function. */ +#undef HAVE_GETGRGID_R + +/* Define to 1 if you have the `getgrnam_r' function. */ +#undef HAVE_GETGRNAM_R + /* Define to 1 if you have the `getgrouplist' function. */ #undef HAVE_GETGROUPLIST @@ -457,6 +463,12 @@ /* Define to 1 if you have the `getpwent' function. */ #undef HAVE_GETPWENT +/* Define to 1 if you have the `getpwnam_r' function. */ +#undef HAVE_GETPWNAM_R + +/* Define to 1 if you have the `getpwuid_r' function. */ +#undef HAVE_GETPWUID_R + /* Define to 1 if the getrandom() function is available */ #undef HAVE_GETRANDOM |