Message331509
| 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: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 |
|