From 3873eb06d95afafd4b20122130dae8664b69428f Mon Sep 17 00:00:00 2001 From: Ori Bernstein Date: Sun, 13 Sep 2020 11:21:21 -0700 Subject: games/4s: increase thread size (thanks majiru) It seems like on amd64, we're overflowing the stack. Let's not do that. --- sys/src/games/xs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/src/games/xs.c b/sys/src/games/xs.c index 4a1a72284..2caf6975c 100644 --- a/sys/src/games/xs.c +++ b/sys/src/games/xs.c @@ -873,11 +873,11 @@ threadmain(int argc, char *argv[]) threadsetname("4s-5s"); timerc= chancreate(sizeof(int), 0); - proccreate(timerproc, timerc, 1024); + proccreate(timerproc, timerc, 8192); suspc= chancreate(sizeof(int), 0); mousec= chancreate(sizeof(Mouse), 0); kbdc= chancreate(sizeof(Rune), 0); - threadcreate(suspproc, nil, 1024); + threadcreate(suspproc, nil, 8192); points = 0; memset(board, 0, sizeof(board)); redraw(0); -- cgit v1.2.3