-
-
Notifications
You must be signed in to change notification settings - Fork 456
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Darwin running time #1622
Darwin running time #1622
Conversation
Reduce one level of indent by tweaking the conditional. No changes in code behavior.
This deduces the RUNNING state from the proc_taskinfo structure by using the number of running threads. Fixes: htop-dev#1611
This uses kinfo_procs to deduce some further states, that were not covered in the libproc code. Co-authored-by: aestriplex <[email protected]> Co-authored-by: Benny Baumann <[email protected]>
c2f5867
to
6a663f3
Compare
@aestriplex Could you complete the pending two TODOs? TIA. |
@BenBE Yes, I am committing those asap |
@BenBE I made a separate commit |
OpenBSD build pipeline failed with error
May be due to temporary conditions, should I re-run it manually later? |
Can you check if P.S.: Can go in the same commit as the code cleanup, where the last reference is removed. |
…unning time has changed Fixes: htop-dev#1619
03ecb2d
to
814feeb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
This follows from issue #1619. The branch is rebased on the PR #1617.
At the moment, the running time of processes on macOS is not updated correctly. I made two commit to try to fix this problem.
Summary:
TODO: