summaryrefslogtreecommitdiffstats
path: root/CommandLine.c
diff options
context:
space:
mode:
authorNathan Scott <nathans@redhat.com>2023-08-31 11:56:43 +1000
committerNathan Scott <nathans@redhat.com>2023-08-31 14:13:16 +1000
commitb74673fe37fd379fc350789e696470556776d815 (patch)
treecbe4f036962c439f9c07a9c96302f5908f6410b0 /CommandLine.c
parent214166a049c2a6ac454dbb37b85b04c039a6a17a (diff)
Rename ProcessList to ProcessTable throughout
Following up with some discusson from a few months back, where it was proposed that ProcessTable is a better name. This data structure is definitely not a list ... if it was one-dimensional it'd be a set, but in practice it has much more in common with a two-dimensional table. The Process table is a familiar operating system concept for many people too so it resonates a little in that way as well.
Diffstat (limited to 'CommandLine.c')
-rw-r--r--CommandLine.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/CommandLine.c b/CommandLine.c
index 2cd90516..effaca48 100644
--- a/CommandLine.c
+++ b/CommandLine.c
@@ -34,7 +34,7 @@ in the source distribution for its full text.
#include "Panel.h"
#include "Platform.h"
#include "Process.h"
-#include "ProcessList.h"
+#include "ProcessTable.h"
#include "ProvideCurses.h"
#include "ScreenManager.h"
#include "Settings.h"
@@ -341,9 +341,9 @@ int CommandLine_run(int argc, char** argv) {
Hashtable* ds = DynamicScreens_new();
Machine* host = Machine_new(ut, flags.userId);
- ProcessList* pl = ProcessList_new(host, flags.pidMatchList);
+ ProcessTable* pt = ProcessTable_new(host, flags.pidMatchList);
Settings* settings = Settings_new(host->activeCPUs, dm, dc, ds);
- Machine_populateTablesFromSettings(host, settings, &pl->super);
+ Machine_populateTablesFromSettings(host, settings, &pt->super);
Header* header = Header_new(host, 2);
Header_populateFromSettings(header);
@@ -402,7 +402,7 @@ int CommandLine_run(int argc, char** argv) {
Machine_scanTables(host);
if (settings->ss->allBranchesCollapsed)
- Table_collapseAllBranches(&pl->super);
+ Table_collapseAllBranches(&pt->super);
ScreenManager_run(scr, NULL, NULL, NULL);

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