Added yield on current process if priority change would imply a
preemption.