mirror of
https://github.com/RGBCube/serenity
synced 2025-05-25 22:05:07 +00:00
Kernel: Move NetworkTask startup into NetworkTask::spawn()
This commit is contained in:
parent
520c4254c9
commit
f25d2f5518
3 changed files with 15 additions and 7 deletions
|
@ -318,10 +318,8 @@ void init_stage2()
|
|||
}
|
||||
thread->set_priority(THREAD_PRIORITY_HIGH);
|
||||
}
|
||||
{
|
||||
Thread* thread = nullptr;
|
||||
Process::create_kernel_process(thread, "NetworkTask", NetworkTask_main);
|
||||
}
|
||||
|
||||
NetworkTask::spawn();
|
||||
|
||||
Process::current->sys$exit(0);
|
||||
ASSERT_NOT_REACHED();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue