Root user gets proper privilege

This commit is contained in:
hoholee12 2023-07-25 15:52:59 +09:00
parent 45023d298b
commit db4c960a3b
3 changed files with 1 additions and 7 deletions

View File

@ -479,8 +479,6 @@ namespace cpu_counter
void cpu_thread::operator()()
{
thread_ctrl::scoped_priority stock_prio(0);
const auto old_prefix = g_tls_log_prefix;
g_tls_this_thread = this;

View File

@ -37,9 +37,7 @@ namespace gl
}
void pipe_compiler::operator()()
{
thread_ctrl::scoped_priority stock_prio(0);
{
while (thread_ctrl::state() != thread_state::aborting)
{
for (auto&& job : m_work_queue.pop_all())

View File

@ -32,8 +32,6 @@ namespace vk
void pipe_compiler::operator()()
{
thread_ctrl::scoped_priority stock_prio(0);
while (thread_ctrl::state() != thread_state::aborting)
{
for (auto&& job : m_work_queue.pop_all())