~kris/9p

9hist

08d182f8ab8f02ac962765a05808eda4eecfdd12 — David du Colombier 34 years ago 42a027d
Plan 9 from Bell Labs 1991-12-30
2 files changed, 5 insertions(+), 2 deletions(-)

M port/stil.c
M power/trap.c
M port/stil.c => port/stil.c +4 -1
@@ 190,8 190,8 @@ ilackq(Ilcb *ic, Block *bp)
		ic->unacked = np;
	}
	ic->unackedtail = np;
	qunlock(&ic->ackq);
	np->list = 0;
	qunlock(&ic->ackq);
}

void


@@ 468,7 468,10 @@ ilrexmit(Ilcb *ic)
	if(ic->unacked == 0)
		return;

	qlock(&ic->ackq);
	nb = copyb(ic->unacked, blen(ic->unacked));
	qunlock(&ic->ackq);

	h = (Ilhdr*)nb->rptr;
	DBG("rxmit %d.", nhgetl(h->ilid));


M power/trap.c => power/trap.c +1 -1
@@ 373,7 373,7 @@ notify(Ureg *ur)

	if(u->p->procctl)
		procctl(u->p);
	if(u->nnote==0)
	if(u->nnote == 0)
		return;

	s = spllo();