mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
Kernel: More PID/TID typing
This commit is contained in:
parent
7bdf54c837
commit
bee08a4b9f
Notes:
sideshowbarker
2024-07-19 04:06:40 +09:00
Author: https://github.com/BenWiederhake
Commit: bee08a4b9f
Pull-request: https://github.com/SerenityOS/serenity/pull/3057
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/bgianfo
21 changed files with 67 additions and 60 deletions
|
@ -43,7 +43,7 @@ KResult Process::do_kill(Process& process, int signal)
|
|||
return KSuccess;
|
||||
}
|
||||
|
||||
KResult Process::do_killpg(pid_t pgrp, int signal)
|
||||
KResult Process::do_killpg(ProcessGroupID pgrp, int signal)
|
||||
{
|
||||
InterruptDisabler disabler;
|
||||
|
||||
|
@ -52,8 +52,7 @@ KResult Process::do_killpg(pid_t pgrp, int signal)
|
|||
// Send the signal to all processes in the given group.
|
||||
if (pgrp == 0) {
|
||||
// Send the signal to our own pgrp.
|
||||
// FIXME: PIF/PGID INCOMPLETE
|
||||
pgrp = pgid().value();
|
||||
pgrp = pgid();
|
||||
}
|
||||
|
||||
bool group_was_empty = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue