Applied, thanks! Damien Zammit, le dim. 11 févr. 2024 07:09:20 +0000, a ecrit: > --- > kern/thread.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/kern/thread.c b/kern/thread.c > index 38287581..de9d1982 100644 > --- a/kern/thread.c > +++ b/kern/thread.c > @@ -1921,7 +1921,7 @@ Restart: > * Reset policy and priorities if needed. > */ > #if MACH_FIXPRI > - if (thread->policy & new_pset->policies == 0) { > + if ((thread->policy & new_pset->policies) == 0) { > thread->policy = POLICY_TIMESHARE; > recompute_pri = TRUE; > } > -- > 2.43.0 > > >
-- Samuel --- Pour une évaluation indépendante, transparente et rigoureuse ! Je soutiens la Commission d'Évaluation de l'Inria.