mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 06:38:10 +00:00
Kernel: Store process names as KString
This commit is contained in:
parent
db2e67fd53
commit
55b0b06897
15 changed files with 46 additions and 32 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue