SCCS-vsn: sys/kern/kern_synch.c 4.6
-/* kern_synch.c 4.5 %G% */
+/* kern_synch.c 4.6 %G% */
#include "../h/param.h"
#include "../h/systm.h"
#include "../h/param.h"
#include "../h/systm.h"
goto out;
rp->p_stat = SSLEEP;
(void) spl0();
goto out;
rp->p_stat = SSLEEP;
(void) spl0();
- if(runin != 0) {
- runin = 0;
- wakeup((caddr_t)&runin);
- }
swtch();
if(ISSIG(rp))
goto psig;
swtch();
if(ISSIG(rp))
goto psig;
p += PUSER + 2*(pp->p_nice - NZERO);
if(p > 127)
p = 127;
p += PUSER + 2*(pp->p_nice - NZERO);
if(p > 127)
p = 127;
pp->p_usrpri = p;
return(p);
}
pp->p_usrpri = p;
return(p);
}