change to use new thread library

This commit is contained in:
rsc 2004-12-27 00:32:50 +00:00
parent 678ede7e54
commit 93f2ae0d92
3 changed files with 31 additions and 14 deletions

View file

@ -38,7 +38,9 @@ rcv(void)
static int i = 0;
static int errs = 0;
while((c=rcvchar()) != -1)
if(0) print("rcv in\n");
while((c=rcvchar()) != -1){
if(0) print(".");
switch(state){
case 0:
h.type = c;
@ -79,6 +81,10 @@ rcv(void)
}
break;
}
if(0) print(":");
}
if(0) print("rcv out\n");
}
Text *