[issue31267] threading.Timer object is affected by changes to system time: Python locks should use a monotonic clock if available

2021-10-01 Thread STINNER Victor


Change by STINNER Victor :


--
superseder: Use the monotonic clock for thread conditions on POSIX platforms -> 
NewGIL should use CLOCK_MONOTONIC if possible.

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31267] threading.Timer object is affected by changes to system time: Python locks should use a monotonic clock if available

2019-01-17 Thread STINNER Victor


STINNER Victor  added the comment:

> I'm sorrry, I read the issue too quickly and misunderstood it. I guess that 
> it's a duplicate of bpo-23428: "Use the monotonic clock for thread conditions 
> on POSIX platforms". This issue is blocked the libc...

Oops, I wanted to post this comment on bpo-35747... There are too many 
duplicates of bpo-23428...

I close this issue as a duplicate of bpo-23428.

--
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> Use the monotonic clock for thread conditions on POSIX platforms

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31267] threading.Timer object is affected by changes to system time: Python locks should use a monotonic clock if available

2019-01-16 Thread STINNER Victor


STINNER Victor  added the comment:

I'm sorrry, I read the issue too quickly and misunderstood it. I guess that 
it's a duplicate of bpo-23428: "Use the monotonic clock for thread conditions 
on POSIX platforms". This issue is blocked the libc...

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31267] threading.Timer object is affected by changes to system time: Python locks should use a monotonic clock if available

2018-07-27 Thread Andrey Ovchinnikov


Change by Andrey Ovchinnikov :


--
nosy: +anikey

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31267] threading.Timer object is affected by changes to system time: Python locks should use a monotonic clock if available

2017-10-09 Thread STINNER Victor

STINNER Victor  added the comment:

> it looks as if measures were implemented but never merged.

The blocker issue is that sem_timedwait() doesn't support CLOCK_MONOTONIC. The 
glibc has to be enhanced to support this new feature.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31267] threading.Timer object is affected by changes to system time: Python locks should use a monotonic clock if available

2017-10-07 Thread Thomas Keppler

Thomas Keppler  added the comment:

Hello Victor,

thank you for your update on this issue.

By looking through the other bug reports you listed, it looks as if measures 
were implemented but never merged. Am I right with this observation? If so, 
will we ever see a switch over to monotonic time?

Thanks for the info :)

--
Best regards
Thomas

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31267] threading.Timer object is affected by changes to system time: Python locks should use a monotonic clock if available

2017-09-15 Thread STINNER Victor

Changes by STINNER Victor :


--
title: threading.Timer object is affected by changes to system time -> 
threading.Timer object is affected by changes to system time: Python locks 
should use a monotonic clock if available

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com