[issue12822] NewGIL should use CLOCK_MONOTONIC if possible.

Marc-Andre Lemburg report at bugs.python.org
Tue Aug 23 21:15:13 CEST 2011


Marc-Andre Lemburg <mal at egenix.com> added the comment:

Antoine Pitrou wrote:
> 
> The patch is ok on the principle, but we do need a check that CLOCK_MONOTONIC is supported at build time.

I think we need both: a check at build time to avoid
compiler errors and a check at runtime whether the deployment
platform supports the clock, plus a fallback solution in case
it is not available.

----------
nosy: +lemburg

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12822>
_______________________________________


More information about the Python-bugs-list mailing list