Message402731
| Author | vstinner |
|---|---|
| Recipients | eryksun, josh.r, kristjan.jonsson, paul.moore, pitrou, steve.dower, tim.golden, tim.peters, vstinner, zach.ware |
| Date | 2021-09-27.16:09:07 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1632758947.83.0.285474650585.issue29971@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
time.sleep() is now implemented with a waitable timer and WaitForMultipleObjects() on Windows. It uses _PyOS_SigintEvent() so it can be interrupted with CTRL+C. commit 58f8adfda3c2b42f654a55500e8e3a6433cb95f2 Author: Victor Stinner <vstinner@python.org> Date: Wed Sep 22 16:09:30 2021 +0200 bpo-21302: time.sleep() uses waitable timer on Windows (GH-28483) On Windows, time.sleep() now uses a waitable timer which has a resolution of 100 ns (10^-7 sec). Previously, it had a solution of 1 ms (10^-3 sec). * On Windows, time.sleep() now calls PyErr_CheckSignals() before resetting the SIGINT event. * Add _PyTime_As100Nanoseconds() function. * Complete and update time.sleep() documentation. Co-authored-by: Livius <egyszeregy@freemail.hu> |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2021-09-27 16:09:07 | vstinner | set | recipients: + vstinner, tim.peters, paul.moore, pitrou, kristjan.jonsson, tim.golden, zach.ware, eryksun, steve.dower, josh.r |
| 2021-09-27 16:09:07 | vstinner | set | messageid: <1632758947.83.0.285474650585.issue29971@roundup.psfhosted.org> |
| 2021-09-27 16:09:07 | vstinner | link | issue29971 messages |
| 2021-09-27 16:09:07 | vstinner | create | |