mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:18:11 +00:00
Kernel: Add implicit auto qualifiers in Syscalls
This commit is contained in:
parent
f5b495d92c
commit
c860e0ab95
10 changed files with 24 additions and 24 deletions
|
@ -82,7 +82,7 @@ void Process::sys$exit_thread(Userspace<void*> exit_value, Userspace<void*> stac
|
|||
this->sys$exit(0);
|
||||
}
|
||||
|
||||
auto current_thread = Thread::current();
|
||||
auto* current_thread = Thread::current();
|
||||
current_thread->set_profiling_suppressed();
|
||||
PerformanceManager::add_thread_exit_event(*current_thread);
|
||||
|
||||
|
@ -120,7 +120,7 @@ ErrorOr<FlatPtr> Process::sys$join_thread(pid_t tid, Userspace<void**> exit_valu
|
|||
if (!thread || thread->pid() != pid())
|
||||
return ESRCH;
|
||||
|
||||
auto current_thread = Thread::current();
|
||||
auto* current_thread = Thread::current();
|
||||
if (thread == current_thread)
|
||||
return EDEADLK;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue