~kris/9p

9hist

3c16b282ba762755efb6f09cc2454530d3833f6c — David du Colombier 30 years ago 117afc6
Plan 9 from Bell Labs 1995-12-30
1 files changed, 3 insertions(+), 0 deletions(-)

M port/proc.c
M port/proc.c => port/proc.c +3 -0
@@ 70,6 70,8 @@ schedinit(void)		/* never returns */

			up->qnext = procalloc.free;
			procalloc.free = up;

			unlock(&palloc);
			unlock(&procalloc);
			break;
		}


@@ 723,6 725,7 @@ pexit(char *exitstr, int freemem)

	/* Sched must not loop for this lock */
	lock(&procalloc);
	lock(&palloc);

	up->state = Moribund;
	sched();