diff options
author | Victor Stinner <vstinner@python.org> | 2021-09-25 12:36:26 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-25 12:36:26 (GMT) |
commit | 7834ff26cbcd4d8394d64d80d9f51a364d38b1c6 (patch) | |
tree | e7c785c78db85d08be01a0f081589ea6d1a48614 /Misc/NEWS.d/next | |
parent | 71f8ff45c62bd6b792919ac7c3804a8628ae12cb (diff) | |
download | cpython-7834ff26cbcd4d8394d64d80d9f51a364d38b1c6.zip cpython-7834ff26cbcd4d8394d64d80d9f51a364d38b1c6.tar.gz cpython-7834ff26cbcd4d8394d64d80d9f51a364d38b1c6.tar.bz2 |
bpo-21302: Add nanosleep() implementation for time.sleep() in Unix (GH-28545)
Co-authored-by: Livius <egyszeregy@freemail.hu>
Diffstat (limited to 'Misc/NEWS.d/next')
-rw-r--r-- | Misc/NEWS.d/next/Library/2021-09-22-23-56-15.bpo-21302.vvQ3Su.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2021-09-22-23-56-15.bpo-21302.vvQ3Su.rst b/Misc/NEWS.d/next/Library/2021-09-22-23-56-15.bpo-21302.vvQ3Su.rst new file mode 100644 index 0000000..52ee8d7 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2021-09-22-23-56-15.bpo-21302.vvQ3Su.rst @@ -0,0 +1 @@ +In Unix operating systems, :func:`time.sleep` now uses the ``nanosleep()`` function, if ``clock_nanosleep()`` is not available but ``nanosleep()`` is available. ``nanosleep()`` allows to sleep with nanosecond precision.
\ No newline at end of file |