time.monotonic() roll over

Chris Angelico rosuav at gmail.com
Thu Dec 4 13:29:09 EST 2014


On Fri, Dec 5, 2014 at 5:09 AM, Marko Rauhamaa <marko at pacujo.net> wrote:
> Sure it could by having an invisible background thread occasionally call
> time.monotonic(). It could even be done on the side without a thread.

No, it can't be solved by anything in that process, because...

>  * the program could be stopped by a STOP signal

... what you said  There's no way to guarantee to keep calling the
function. You have to depend on upstream.

ChrisA



More information about the Python-list mailing list