Message74965
> compilation indeed breaks if sysconf is available but _SC_CLK_TCK is
> not. My Unix-foo is not sufficient to confidently say that this is
> impossible
To make such a statement, one would need knowledge of all operating
system releases that have ever been made, including releases that didn't
make it to the public. It might be that POSIX mandates _SC_CLK_TCK,
but that would be irrelevant, as systems might chose not to comply with
POSIX in this aspect.
> In the other case you mention, where neither sysconf nor HZ are
> available, the old default of 60 could be used instead.
That would probably be safest, although I could also accept that
os.times becomes unavailable on such a system. |
|
Date |
User |
Action |
Args |
2008-10-19 07:12:34 | loewis | set | recipients:
+ loewis, gvanrossum, gregory.p.smith, belopolsky, maltehelmert, pitrou, ocean-city, christian.heimes, LambertDW, rbp |
2008-10-19 07:12:18 | loewis | link | issue1040026 messages |
2008-10-19 07:12:16 | loewis | create | |
|