summaryrefslogtreecommitdiff
path: root/Kernel/Process.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-03-11 14:24:08 +0100
committerAndreas Kling <kling@serenityos.org>2021-03-11 14:24:08 +0100
commit1608ef37d8a945c9422cc3dc40b1e04842dcf60b (patch)
tree9caf52c3cb65defdfb9a1eb550c8eda9274ab3ca /Kernel/Process.h
parent4916b5c1300573c4fca94a1c0caf3a757565add4 (diff)
downloadserenity-1608ef37d8a945c9422cc3dc40b1e04842dcf60b.zip
Kernel: Move process termination status/signal into protected data
Diffstat (limited to 'Kernel/Process.h')
-rw-r--r--Kernel/Process.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Process.h b/Kernel/Process.h
index a1f37a3d93..3b043d4b3e 100644
--- a/Kernel/Process.h
+++ b/Kernel/Process.h
@@ -121,6 +121,8 @@ protected:
VirtualAddress m_signal_trampoline;
Atomic<u32> m_thread_count { 0 };
IntrusiveList<Thread, &Thread::m_process_thread_list_node> m_thread_list;
+ u8 m_termination_status { 0 };
+ u8 m_termination_signal { 0 };
};
class ProcessBase : public ProtectedProcessBase {
@@ -579,8 +581,6 @@ private:
};
Vector<FileDescriptionAndFlags> m_fds;
- u8 m_termination_status { 0 };
- u8 m_termination_signal { 0 };
mutable RecursiveSpinLock m_thread_list_lock;
const bool m_is_kernel_process;