|
@@ -41,8 +41,7 @@ static intptr_t background_thread_func()
|
|
static void init()
|
|
static void init()
|
|
{
|
|
{
|
|
s_all_actions = new Queue<Function<void()>>;
|
|
s_all_actions = new Queue<Function<void()>>;
|
|
- s_background_thread = &Threading::Thread::construct(background_thread_func).leak_ref();
|
|
|
|
- s_background_thread->set_name("Background thread");
|
|
|
|
|
|
+ s_background_thread = &Threading::Thread::construct(background_thread_func, "Background Thread"sv).leak_ref();
|
|
s_background_thread->start();
|
|
s_background_thread->start();
|
|
}
|
|
}
|
|
|
|
|