]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-21302: Add clock_nanosleep() implementation for time.sleep() (GH-28111)
authorLivius <egyszeregy@freemail.hu>
Mon, 13 Sep 2021 12:37:38 +0000 (14:37 +0200)
committerGitHub <noreply@github.com>
Mon, 13 Sep 2021 12:37:38 +0000 (14:37 +0200)
commit85a4748118c3793be7047ecbcbfc79dd07cb2a75
tree8faca8b6e772af6312db9daa26f4d89b1e29a3bd
parent3e19409d6443c66a6a7d62f58b2bb4e8330e56c4
bpo-21302: Add clock_nanosleep() implementation for time.sleep() (GH-28111)

In Unix operating systems, time.sleep() now uses the clock_nanosleep() function,
if available, which allows to sleep for an interval specified with nanosecond precision.

Co-authored-by: Victor Stinner <vstinner@python.org>
Misc/NEWS.d/next/Library/2021-09-11-18-44-40.bpo-21302.QxHRpR.rst [new file with mode: 0644]
Modules/timemodule.c
configure
configure.ac
pyconfig.h.in