diff options
author | Benny Baumann <BenBE@geshi.org> | 2021-04-10 14:08:26 +0200 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2021-05-23 09:22:21 +0200 |
commit | 7224d0e0831ee53d5028915f87dffd51ffa0d6fa (patch) | |
tree | c193e41f03dd30cf414d427c5e4e71b127842d98 /dragonflybsd/DragonFlyBSDProcess.h | |
parent | 1a1fddae851b344b0a89a8f2753e2d2487f34064 (diff) |
Move kernel/userland thread handling to platform-independent implementation
Diffstat (limited to 'dragonflybsd/DragonFlyBSDProcess.h')
-rw-r--r-- | dragonflybsd/DragonFlyBSDProcess.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/dragonflybsd/DragonFlyBSDProcess.h b/dragonflybsd/DragonFlyBSDProcess.h index 4b086af2..22cf9759 100644 --- a/dragonflybsd/DragonFlyBSDProcess.h +++ b/dragonflybsd/DragonFlyBSDProcess.h @@ -17,16 +17,10 @@ in the source distribution for its full text. 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]; @@ -35,6 +29,4 @@ Process* DragonFlyBSDProcess_new(const Settings* settings); void Process_delete(Object* cast); -bool Process_isThread(const Process* this); - #endif |