change to use new thread library

This commit is contained in:
rsc 2004-12-27 00:38:59 +00:00
parent 0a839b8314
commit 334cb1e91c
7 changed files with 41 additions and 24 deletions

View file

@ -45,6 +45,7 @@ startplumbing(void)
fprint(2, "acme: can't initialize plumber: %r\n");
else{
cplumb = chancreate(sizeof(Plumbmsg*), 0);
chansetname(cplumb, "cplumb");
threadcreate(plumbproc, nil, STACK);
}
plumbsendfid = plumbopenfid("send", OWRITE|OCEXEC);