Warning, /graphics/krita/3rdparty/ext_heif/A02-threads-priority.patch is written in an unsupported language. File is not indexed.
0001 diff --git a/source/common/threadpool.cpp b/source/common/threadpool.cpp 0002 index 2db7a146b..4ed534d6b 100644 0003 --- a/source/common/threadpool.cpp 0004 +++ b/source/common/threadpool.cpp 0005 @@ -115,12 +115,6 @@ void WorkerThread::threadMain() 0006 { 0007 THREAD_NAME("Worker", m_id); 0008 0009 -#if _WIN32 0010 - SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_BELOW_NORMAL); 0011 -#else 0012 - __attribute__((unused)) int val = nice(10); 0013 -#endif 0014 - 0015 m_pool.setCurrentThreadAffinity(); 0016 0017 sleepbitmap_t idBit = (sleepbitmap_t)1 << m_id; 0018