summaryrefslogtreecommitdiffstats
path: root/openbsd/OpenBSDProcess.h
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2021-04-10 14:08:26 +0200
committerBenBE <BenBE@geshi.org>2021-05-23 09:22:21 +0200
commit7224d0e0831ee53d5028915f87dffd51ffa0d6fa (patch)
treec193e41f03dd30cf414d427c5e4e71b127842d98 /openbsd/OpenBSDProcess.h
parent1a1fddae851b344b0a89a8f2753e2d2487f34064 (diff)
Move kernel/userland thread handling to platform-independent implementation
Diffstat (limited to 'openbsd/OpenBSDProcess.h')
-rw-r--r--openbsd/OpenBSDProcess.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/openbsd/OpenBSDProcess.h b/openbsd/OpenBSDProcess.h
index 79f9b0fe..ce078a03 100644
--- a/openbsd/OpenBSDProcess.h
+++ b/openbsd/OpenBSDProcess.h
@@ -22,14 +22,6 @@ typedef struct OpenBSDProcess_ {
uint64_t addr;
} OpenBSDProcess;
-static inline bool Process_isKernelThread(const Process* this) {
- return this->pgrp == 0;
-}
-
-static inline bool Process_isUserlandThread(const Process* this) {
- return this->pid != this->tgid;
-}
-
extern const ProcessClass OpenBSDProcess_class;
extern const ProcessFieldData Process_fields[LAST_PROCESSFIELD];
@@ -38,6 +30,4 @@ Process* OpenBSDProcess_new(const Settings* settings);
void Process_delete(Object* cast);
-bool Process_isThread(const Process* this);
-
#endif

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