diff options
author | Daniel Lange <DLange@git.local> | 2021-09-21 08:35:20 +0200 |
---|---|---|
committer | Daniel Lange <DLange@git.local> | 2021-09-21 08:35:20 +0200 |
commit | a2b6942d15d220bb0518003d4f818a922d88e9f9 (patch) | |
tree | 7f60a44dec34af24da75b8d5b68c88eca94b9f6a /dragonflybsd/DragonFlyBSDProcess.h | |
parent | 37d8824862a2f6b9375022e1c45ba4548162650f (diff) | |
parent | 69f439eff387a6ecb52734e400b297a3c85f2285 (diff) | |
download | debian_htop-a2b6942d15d220bb0518003d4f818a922d88e9f9.tar.gz debian_htop-a2b6942d15d220bb0518003d4f818a922d88e9f9.tar.bz2 debian_htop-a2b6942d15d220bb0518003d4f818a922d88e9f9.zip |
Update upstream source from tag 'upstream/3.1.0'
Update to upstream version '3.1.0'
with Debian dir d4ecdd99a38d7105de46689cebcb051bf0046a76
Diffstat (limited to 'dragonflybsd/DragonFlyBSDProcess.h')
-rw-r--r-- | dragonflybsd/DragonFlyBSDProcess.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/dragonflybsd/DragonFlyBSDProcess.h b/dragonflybsd/DragonFlyBSDProcess.h index dc40a99..22cf975 100644 --- a/dragonflybsd/DragonFlyBSDProcess.h +++ b/dragonflybsd/DragonFlyBSDProcess.h @@ -8,18 +8,19 @@ Released under the GNU GPLv2, see the COPYING file in the source distribution for its full text. */ +#include <stdbool.h> + +#include "Object.h" +#include "Process.h" +#include "Settings.h" + + typedef struct DragonFlyBSDProcess_ { Process super; - int kernel; int jid; char* jname; } DragonFlyBSDProcess; -#define Process_isKernelThread(_process) (_process->kernel == 1) - -//#define Process_isUserlandThread(_process) (_process->pid != _process->tgid) -#define Process_isUserlandThread(_process) (_process->nlwp > 1) - extern const ProcessClass DragonFlyBSDProcess_class; extern const ProcessFieldData Process_fields[LAST_PROCESSFIELD]; @@ -28,6 +29,4 @@ Process* DragonFlyBSDProcess_new(const Settings* settings); void Process_delete(Object* cast); -bool Process_isThread(const Process* this); - #endif |