summaryrefslogtreecommitdiffstats
path: root/solaris/SolarisProcess.c
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 /solaris/SolarisProcess.c
parent1a1fddae851b344b0a89a8f2753e2d2487f34064 (diff)
Move kernel/userland thread handling to platform-independent implementation
Diffstat (limited to 'solaris/SolarisProcess.c')
-rw-r--r--solaris/SolarisProcess.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/solaris/SolarisProcess.c b/solaris/SolarisProcess.c
index 7b82f90f..688d98ca 100644
--- a/solaris/SolarisProcess.c
+++ b/solaris/SolarisProcess.c
@@ -121,18 +121,6 @@ static int SolarisProcess_compareByKey(const Process* v1, const Process* v2, Pro
}
}
-bool Process_isThread(const Process* this) {
- const SolarisProcess* fp = (const SolarisProcess*) this;
-
- if (fp->kernel == 1 ) {
- return 1;
- } else if (fp->is_lwp) {
- return 1;
- } else {
- return 0;
- }
-}
-
const ProcessClass SolarisProcess_class = {
.super = {
.extends = Class(Process),

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