mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:38:11 +00:00
Kernel: Fix sys$join_thread
Previously, when we unblocked because the joinee has died, we didn't copy its exit value back to the user.
This commit is contained in:
parent
2c0e153396
commit
26b430bee7
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ int Process::sys$join_thread(pid_t tid, Userspace<void**> exit_value)
|
|||
break;
|
||||
}
|
||||
if (result == Thread::BlockResult::InterruptedByDeath)
|
||||
return 0; // we're not going to return back to user mode
|
||||
break;
|
||||
}
|
||||
|
||||
if (exit_value && !copy_to_user(exit_value, &joinee_exit_value))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue