Message331509
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. |
|
Date |
User |
Action |
Args |
2018-12-10 14:32:21 | kulikjak | set | recipients:
+ kulikjak |
2018-12-10 14:32:21 | kulikjak | set | messageid: <1544452341.93.0.788709270274.issue35455@psf.upfronthosting.co.za> |
2018-12-10 14:32:21 | kulikjak | link | issue35455 messages |
2018-12-10 14:32:21 | kulikjak | create | |
|