mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-13 12:44:34 +03:00
Implements the NetBSD specific changes for makeCommandStr refactor.
Refer to #388 PR for more details.
This commit is contained in:
@ -183,6 +183,12 @@ const ProcessFieldData Process_fields[LAST_PROCESSFIELD] = {
|
||||
.flags = 0,
|
||||
.pidColumn = true,
|
||||
},
|
||||
[PROC_COMM] = {
|
||||
.name = "COMM",
|
||||
.title = "COMM ",
|
||||
.description = "comm string of the process",
|
||||
.flags = 0,
|
||||
},
|
||||
};
|
||||
|
||||
Process* NetBSDProcess_new(const Settings* settings) {
|
||||
@ -235,7 +241,3 @@ const ProcessClass NetBSDProcess_class = {
|
||||
.writeField = NetBSDProcess_writeField,
|
||||
.compareByKey = NetBSDProcess_compareByKey
|
||||
};
|
||||
|
||||
bool Process_isThread(const Process* this) {
|
||||
return Process_isKernelThread(this) || Process_isUserlandThread(this);
|
||||
}
|
||||
|
Reference in New Issue
Block a user