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 Jan 16, 2016
1 parent 11a970b commit 82d153d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions xbmc/interfaces/generic/LanguageInvokerThread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ bool CLanguageInvokerThread::execute(const std::string &script, const std::vecto
m_args = arguments;

Create();
#ifdef TARGET_RASPBERRY_PI
/* low prio */
SetPriority(GetPriority()-1);
#endif

return true;
}

Expand Down

0 comments on commit 82d153d

Please sign in to comment.