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

@ -178,6 +178,7 @@ editcmd(Text *ct, Rune *r, uint n)
resetxec();
if(editerrc == nil){
editerrc = chancreate(sizeof(char*), 0);
chansetname(editerrc, "editerrc");
lastpat = allocstring(0);
}
threadcreate(editthread, nil, STACK);