summaryrefslogtreecommitdiffstats
path: root/Python/pyhash.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2021-10-01 11:03:03 (GMT)
committerGitHub <noreply@github.com>2021-10-01 11:03:03 (GMT)
commit98d282700221234157159df4af76423d89490ad9 (patch)
tree5f552e24b2945e6db9fa750afe4a3d135b6bb546 /Python/pyhash.c
parent746d648d47d12d16c2afedaeff626fc6aaaf6a46 (diff)
downloadcpython-98d282700221234157159df4af76423d89490ad9.zip
cpython-98d282700221234157159df4af76423d89490ad9.tar.gz
cpython-98d282700221234157159df4af76423d89490ad9.tar.bz2
bpo-41710: Fix PY_TIMEOUT_MAX on Windows (GH-28673)
WaitForSingleObject() accepts timeout in milliseconds in the range [0; 0xFFFFFFFE] (DWORD type). INFINITE value (0xFFFFFFFF) means no timeout. 0xFFFFFFFE milliseconds is around 49.7 days. PY_TIMEOUT_MAX is (0xFFFFFFFE * 1000) milliseconds on Windows, around 49.7 days. Partially revert commit 37b8294d6295ca12553fd7c98778be71d24f4b24.
Diffstat (limited to 'Python/pyhash.c')
0 files changed, 0 insertions, 0 deletions