games/4s: increase thread size (thanks majiru)
It seems like on amd64, we're overflowing the stack. Let's not do that.
This commit is contained in:
parent
d7b541eaf3
commit
3873eb06d9
1 changed files with 2 additions and 2 deletions
|
@ -873,11 +873,11 @@ threadmain(int argc, char *argv[])
|
||||||
|
|
||||||
threadsetname("4s-5s");
|
threadsetname("4s-5s");
|
||||||
timerc= chancreate(sizeof(int), 0);
|
timerc= chancreate(sizeof(int), 0);
|
||||||
proccreate(timerproc, timerc, 1024);
|
proccreate(timerproc, timerc, 8192);
|
||||||
suspc= chancreate(sizeof(int), 0);
|
suspc= chancreate(sizeof(int), 0);
|
||||||
mousec= chancreate(sizeof(Mouse), 0);
|
mousec= chancreate(sizeof(Mouse), 0);
|
||||||
kbdc= chancreate(sizeof(Rune), 0);
|
kbdc= chancreate(sizeof(Rune), 0);
|
||||||
threadcreate(suspproc, nil, 1024);
|
threadcreate(suspproc, nil, 8192);
|
||||||
points = 0;
|
points = 0;
|
||||||
memset(board, 0, sizeof(board));
|
memset(board, 0, sizeof(board));
|
||||||
redraw(0);
|
redraw(0);
|
||||||
|
|
Loading…
Reference in a new issue