131,7 → 131,7 |
} |
|
/* check if the task is preempteble or not */ |
if (lev->activated != NIL && lev->flag[lev->activated] & POSIXSTAR_FLAG_NOPREEMPT) return; |
if (lev->activated != NIL && (lev->flag[lev->activated] & POSIXSTAR_FLAG_NOPREEMPT)) return; |
|
if (p!=lev->activated) { |
if (lev->activated != NIL ) { |
292,7 → 292,7 |
|
POSIXSTAR_private_scheduler(lev); |
|
if (exec==lev->activated) { |
if (exec==lev->activated || lev->activated == NIL) { |
level_table[lev->scheduling_level]->private_epilogue(lev->scheduling_level,p); |
} |
|