Fix Disk Usage thread

This commit is contained in:
Megamouse committed 2026-04-15 13:05:54 +02:00
1 parent d53a6a87f6
commit 7d41bbdd2b
3 files changed
+10 -7

No files matched your search

+7
View File
@@ -2883,6 +2883,13 @@ void thread_base::exec()
}
}
void thread_ctrl::set_name(std::string name)
{
ensure(g_tls_this_thread);
g_tls_this_thread->m_tname.store(make_single<std::string>(name));
g_tls_this_thread->set_name(std::move(name));
}
[[noreturn]] void thread_ctrl::emergency_exit(std::string_view reason)
{
// Print stacktrace