• Victor Stinner's avatar
    Issue #22117: The thread module uses the new _PyTime_t timestamp API · 155a3936
    Victor Stinner authored
    Add also a new _PyTime_AsMicroseconds() function.
    
    threading.TIMEOUT_MAX is now be smaller: only 292 years instead of 292,271
    years on 64-bit system for example. Sorry, your threads will hang a *little
    bit* shorter. Call me if you want to ensure that your locks wait longer, I can
    share some tricks with you.
    155a3936
_threadmodule.c 43.2 KB