1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:07:45 +00:00

Kernel+LibELF: Store termination signal in coredump ProcessInfo

This commit is contained in:
Linus Groh 2021-01-03 21:46:38 +01:00 committed by Andreas Kling
parent b5437216e2
commit 0571a17f57
3 changed files with 4 additions and 0 deletions

View file

@ -449,6 +449,8 @@ public:
void terminate_due_to_signal(u8 signal);
KResult send_signal(u8 signal, Process* sender);
u8 termination_signal() const { return m_termination_signal; }
u16 thread_count() const
{
return m_thread_count.load(AK::MemoryOrder::memory_order_relaxed);