Author kulikjak
Recipients kulikjak
Date 2018-12-10.14:32:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1544452341.93.0.788709270274.issue35455@psf.upfronthosting.co.za>
In-reply-to
Content
Implementation of time.thread_time() doesn't work on Solaris because clock_id CLOCK_THREAD_CPUTIME_ID is not known (it is defined, but clock_gettime returns EINVAL error). Solaris, however, has function gethrvtime() which can substitute this functionality.

I attached a possible patch which does work during tests and I further tested it with some basic scripts.
History
Date User Action Args
2018-12-10 14:32:21kulikjaksetrecipients: + kulikjak
2018-12-10 14:32:21kulikjaksetmessageid: <1544452341.93.0.788709270274.issue35455@psf.upfronthosting.co.za>
2018-12-10 14:32:21kulikjaklinkissue35455 messages
2018-12-10 14:32:21kulikjakcreate