This commit is contained in:
hoholee12 2023-07-24 00:26:13 +09:00
parent 8163aaf7de
commit e5c1fea20a
5 changed files with 8 additions and 18 deletions

View file

@ -38,10 +38,8 @@ namespace gl
void pipe_compiler::operator()()
{
#ifndef _WIN32
// Set low priority
thread_ctrl::scoped_priority low_prio(-1);
#endif
thread_ctrl::scoped_priority stock_prio(0);
while (thread_ctrl::state() != thread_state::aborting)
{
for (auto&& job : m_work_queue.pop_all())