scheduler: Add missing check for real time threads

This commit is contained in:
Pawel Dziepak
2013-11-29 18:09:56 +01:00
parent 673f08a995
commit c19f1e4fbb
@@ -903,6 +903,9 @@ compute_quantum(Thread* thread)
else
quantum = get_base_quantum(thread);
if (thread->priority >= B_FIRST_REAL_TIME_PRIORITY)
return quantum;
quantum += schedulerThreadData->stolen_time;
schedulerThreadData->stolen_time = 0;