summaryrefslogtreecommitdiffstats
path: root/darwin/DarwinProcessTable.c
diff options
context:
space:
mode:
authorrobaho <rengels@ix.netcom.com>2021-02-28 18:37:44 +0100
committerBenny Baumann <BenBE@geshi.org>2024-04-21 10:55:43 +0200
commit4c0e96592d5f5f884aab9b29a3300ae5e1b6009b (patch)
tree40ab8aa46adbe26bee771836c0431563b2c03a69 /darwin/DarwinProcessTable.c
parent0c002751dde85d1e9fc7650e88bc7aa48c76ff0e (diff)
darwin: scan thread information
Inspired by: https://github.com/hishamhm/htop/pull/848 Closes: #542
Diffstat (limited to 'darwin/DarwinProcessTable.c')
-rw-r--r--darwin/DarwinProcessTable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/darwin/DarwinProcessTable.c b/darwin/DarwinProcessTable.c
index 850b503f..a08c2669 100644
--- a/darwin/DarwinProcessTable.c
+++ b/darwin/DarwinProcessTable.c
@@ -112,7 +112,7 @@ void ProcessTable_goThroughEntries(ProcessTable* super) {
bool isScanThreadSupported = !Platform_KernelVersionIsBetween((KernelVersion) {17, 0, 0}, (KernelVersion) {17, 5, 0});
if (isScanThreadSupported) {
- DarwinProcess_scanThreads(proc);
+ DarwinProcess_scanThreads(proc, dpt);
}
super->totalTasks += 1;

© 2014-2024 Faster IT GmbH | imprint | privacy policy