mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-03-05 04:55:10 +00:00
Kernel: Mark sys$kill_thread as not needing the big process lock
This syscall does not access any big process lock protected resources.
This commit is contained in:
committed by
Andreas Kling
parent
b44628c1fb
commit
d63667dbf1
@@ -169,7 +169,7 @@ ErrorOr<FlatPtr> Process::sys$join_thread(pid_t tid, Userspace<void**> exit_valu
|
||||
|
||||
ErrorOr<FlatPtr> Process::sys$kill_thread(pid_t tid, int signal)
|
||||
{
|
||||
VERIFY_PROCESS_BIG_LOCK_ACQUIRED(this);
|
||||
VERIFY_NO_PROCESS_BIG_LOCK(this);
|
||||
TRY(require_promise(Pledge::thread));
|
||||
|
||||
if (signal < 0 || signal >= NSIG)
|
||||
|
||||
Reference in New Issue
Block a user