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

@ -1585,6 +1585,7 @@ run(Window *win, char *s, Rune *rdir, int ndir, int newns, char *argaddr, char *
arg = emalloc(10*sizeof(void*));
c = emalloc(sizeof *c);
cpid = chancreate(sizeof(ulong), 0);
chansetname(cpid, "cpid %s", s);
arg[0] = win;
arg[1] = s;
arg[2] = rdir;