Message403544
> it is time to use nicely GetSystemTimePreciseAsFileTime() in time.time()
See bpo-19007 for that.
> it is time to (...) time.sleep() as absolute sleeping because it is available since Windows 8.
In Python 3.11, time.sleep() is now always implemented with a waitable timer. I chose to use a relative timeout since it's simpler to implement. Is there any benefit of calling SetWaitableTimer() with an absolute timeout, compared to calling it with a relative timeout? |
|
| Date |
User |
Action |
Args |
| 2021-10-09 17:06:14 | vstinner | set | recipients:
+ vstinner, akira, python-dev, yselivanov, shankarunni, Livius |
| 2021-10-09 17:06:14 | vstinner | set | messageid: <1633799174.34.0.904632593417.issue21302@roundup.psfhosted.org> |
| 2021-10-09 17:06:14 | vstinner | link | issue21302 messages |
| 2021-10-09 17:06:14 | vstinner | create | |
|