mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:37:35 +00:00
Kernel: Move process termination status/signal into protected data
This commit is contained in:
parent
4916b5c130
commit
1608ef37d8
3 changed files with 16 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue