[issue32093] macOS: implement time.thread_time() using thread_info()

Ronald Oussoren report at bugs.python.org
Wed Nov 22 04:14:18 EST 2017


Ronald Oussoren <ronaldoussoren at mac.com> added the comment:

CLOCK_THREAD_CPUTIME_ID should be available on macOS 10.12 and later (which is also when clock_gettime was introduced).

I'm not sure if it is worthwhile to implement this fairly specialised function for older macOS releases due to the maintenance cost.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32093>
_______________________________________


More information about the Python-bugs-list mailing list