mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-15 03:08:36 +12:00
Linux: fix thread priority
This commit is contained in:
parent
70b124cfa0
commit
8163aaf7de
5 changed files with 35 additions and 12 deletions
|
@ -38,6 +38,10 @@ namespace gl
|
|||
|
||||
void pipe_compiler::operator()()
|
||||
{
|
||||
#ifndef _WIN32
|
||||
// Set low priority
|
||||
thread_ctrl::scoped_priority low_prio(-1);
|
||||
#endif
|
||||
while (thread_ctrl::state() != thread_state::aborting)
|
||||
{
|
||||
for (auto&& job : m_work_queue.pop_all())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue