use new thread library
This commit is contained in:
parent
d9f3e89e5e
commit
b20f06ab9c
6 changed files with 20 additions and 17 deletions
|
|
@ -118,7 +118,9 @@ initmouse(char *file, Image *i)
|
|||
free(t);
|
||||
mc->image = i;
|
||||
mc->c = chancreate(sizeof(Mouse), 0);
|
||||
chansetname(mc->c, "mousec");
|
||||
mc->resizec = chancreate(sizeof(int), 2);
|
||||
chansetname(mc->resizec, "resizec");
|
||||
proccreate(_ioproc, mc, 4096);
|
||||
return mc;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue