Skip to content

Commit

Permalink
[languageinvoker] Reduce priority of python threads
Browse files Browse the repository at this point in the history
  • Loading branch information
popcornmix committed Apr 3, 2020
1 parent d499adc commit 83420c8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions xbmc/interfaces/generic/LanguageInvokerThread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,13 @@ bool CLanguageInvokerThread::execute(const std::string &script, const std::vecto
m_condition.notify_one();
}
else
{
Create();
#ifdef TARGET_RASPBERRY_PI
/* low prio */
SetPriority(GetPriority()-1);
#endif
}

//Todo wait until running

Expand Down

0 comments on commit 83420c8

Please sign in to comment.