Root user gets proper privilege

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

View file

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

View file

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

View file

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