Kernel: Implemented priority inheritance for mutexes.

This commit is contained in:
bunnei 2015-04-03 18:40:16 -04:00
parent 7b9f428b23
commit 9c3419ebcc
3 changed files with 22 additions and 4 deletions

View file

@ -89,6 +89,12 @@ public:
*/
void SetPriority(s32 priority);
/**
* Temporarily boosts the thread's priority until the next time it is scheduled
* @param priority The new priority
*/
void BoostPriority(s32 priority);
/**
* Gets the thread's thread ID
* @return The thread's ID