diff options
author | Andreas Kling <awesomekling@gmail.com> | 2018-11-16 21:14:25 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2018-11-16 21:14:25 +0100 |
commit | 6cedb8815380a1f6000fb4a1fed74afa6c32117f (patch) | |
tree | ad68caddf47578e35641b3a23f496c7a9cf0836c /Kernel/Process.h | |
parent | a788e85c0997cfb50fae0b1ec0b70ef68f461ded (diff) | |
download | serenity-6cedb8815380a1f6000fb4a1fed74afa6c32117f.zip |
Don't unblock a blocked process when it ignores a signal.
Diffstat (limited to 'Kernel/Process.h')
-rw-r--r-- | Kernel/Process.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Process.h b/Kernel/Process.h index 18529c57fd..132450e767 100644 --- a/Kernel/Process.h +++ b/Kernel/Process.h @@ -208,8 +208,8 @@ public: size_t max_open_file_descriptors() const { return m_max_open_file_descriptors; } void send_signal(byte signal, Process* sender); - void dispatch_one_pending_signal(); - void dispatch_signal(byte signal); + bool dispatch_one_pending_signal(); + bool dispatch_signal(byte signal); bool has_unmasked_pending_signals() const; void terminate_due_to_signal(byte signal); |