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

STINNER Victor report at bugs.python.org
Mon Nov 20 12:20:53 EST 2017


New submission from STINNER Victor <victor.stinner at gmail.com>:

bpo-32025 added time.thread_time() function. On macOS, CLOCK_THREAD_CPUTIME_ID is not available. I propose to add a macOS implementation using thread_info(): return the sum of user and system times.

----------
components: macOS
messages: 306569
nosy: ned.deily, pitrou, ronaldoussoren, vstinner
priority: normal
severity: normal
status: open
title: macOS: implement time.thread_time() using thread_info()
versions: Python 3.7

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


More information about the Python-bugs-list mailing list