diff options
author | Daniel Lange <DLange@git.local> | 2022-05-02 16:04:21 +0200 |
---|---|---|
committer | Daniel Lange <DLange@git.local> | 2022-05-02 16:04:21 +0200 |
commit | 1b805a31720727008b32b1129a167758519fd4db (patch) | |
tree | 900c84e10a25f2c8eaeec3ae54f1365688ce02a4 /ProcessList.h | |
parent | a6822e98434cf7da6fab033898094976d881ee0f (diff) | |
download | debian_htop-1b805a31720727008b32b1129a167758519fd4db.tar.gz debian_htop-1b805a31720727008b32b1129a167758519fd4db.tar.bz2 debian_htop-1b805a31720727008b32b1129a167758519fd4db.zip |
New upstream version 3.2.0upstream/3.2.0
Diffstat (limited to 'ProcessList.h')
-rw-r--r-- | ProcessList.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ProcessList.h b/ProcessList.h index a12ffa1..c420038 100644 --- a/ProcessList.h +++ b/ProcessList.h @@ -43,13 +43,13 @@ typedef unsigned long long int memory_t; typedef struct ProcessList_ { const Settings* settings; - Vector* processes; - Vector* processes2; - Hashtable* processTable; + Vector* processes; /* all known processes; sort order can vary and differ from display order */ + Vector* displayList; /* process tree flattened in display order (borrowed); + updated in ProcessList_updateDisplayList when rebuilding panel */ + Hashtable* processTable; /* fast known process lookup by PID */ UsersTable* usersTable; - Hashtable* displayTreeSet; - Hashtable* draftingTreeSet; + bool needsSort; Hashtable* dynamicMeters; /* runtime-discovered meters */ Hashtable* dynamicColumns; /* runtime-discovered Columns */ @@ -108,7 +108,7 @@ void ProcessList_add(ProcessList* this, Process* p); void ProcessList_remove(ProcessList* this, const Process* p); -void ProcessList_sort(ProcessList* this); +void ProcessList_updateDisplayList(ProcessList* this); ProcessField ProcessList_keyAt(const ProcessList* this, int at); |