Continue the pthreads torture.

This commit is contained in:
rsc 2004-09-21 01:11:28 +00:00
parent 3d5e34e146
commit c6687d4591
25 changed files with 440 additions and 124 deletions

View file

@ -884,12 +884,8 @@ key(Rune r)
case 0x7F: /* DEL: send interrupt */
t.qh = t.q0 = t.q1 = t.nr;
show(t.q0);
{int x; x=tcgetpgrp(rcfd);
print("postnote %d pgrp %d\n", rcpid, x);
postnote(PNGROUP, x, "interrupt");
if(x >= 2) killpg(x, 2);
}
// write(rcfd, "\x7F", 1);
// postnote(PNGROUP, x, "interrupt");
write(rcfd, "\x7F", 1);
return;
}