1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 13:45:07 +00:00

Kernel: Unify Kernel task names for consistency

This change unifies the naming convention for kernel tasks.

The goal of this change is to:

- Make the task names more descriptive, so users can more
  easily understand their purpose in System Monitor.

- Unify the naming convention so they are consistent.
This commit is contained in:
Brian Gianforcaro 2022-06-04 21:44:48 -07:00 committed by Linus Groh
parent 5fd3716e2f
commit 6b85b358f8
6 changed files with 10 additions and 8 deletions

View file

@ -15,8 +15,8 @@ namespace Kernel {
UNMAP_AFTER_INIT void SyncTask::spawn()
{
RefPtr<Thread> syncd_thread;
(void)Process::create_kernel_process(syncd_thread, KString::must_create("SyncTask"), [] {
dbgln("SyncTask is running");
(void)Process::create_kernel_process(syncd_thread, KString::must_create("VFS Sync Task"), [] {
dbgln("VFS SyncTask is running");
for (;;) {
VirtualFileSystem::sync();
(void)Thread::current()->sleep(Time::from_seconds(1));