mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-01 06:07:59 +00:00
Kernel: Store process names as KString
This commit is contained in:
@@ -43,7 +43,10 @@ static HashTable<RefPtr<TCPSocket>>* delayed_ack_sockets;
|
||||
void NetworkTask::spawn()
|
||||
{
|
||||
RefPtr<Thread> thread;
|
||||
Process::create_kernel_process(thread, "NetworkTask", NetworkTask_main, nullptr);
|
||||
auto name = KString::try_create("NetworkTask");
|
||||
if (name.is_error())
|
||||
TODO();
|
||||
Process::create_kernel_process(thread, name.release_value(), NetworkTask_main, nullptr);
|
||||
network_task = thread;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user