mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:57:43 +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
|
@ -472,7 +472,11 @@ void UHCIController::spawn_port_proc()
|
|||
{
|
||||
RefPtr<Thread> usb_hotplug_thread;
|
||||
|
||||
Process::create_kernel_process(usb_hotplug_thread, "UHCIHotplug", [&] {
|
||||
auto process_name = KString::try_create("UHCI hotplug");
|
||||
if (process_name.is_error())
|
||||
TODO();
|
||||
|
||||
Process::create_kernel_process(usb_hotplug_thread, process_name.release_value(), [&] {
|
||||
for (;;) {
|
||||
if (m_root_hub)
|
||||
m_root_hub->check_for_port_updates();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue