git: 9front

Download patch

ref: 986e98cde1d1f2867a2de4bb708c98ffff4bfe38
parent: 257b082b2d44cccce87c117c138db0765c644135
author: Ori Bernstein <ori@eigenstate.org>
date: Sun Sep 13 07:21:21 EDT 2020

games/4s: increase thread size (thanks majiru)

It seems like on amd64, we're overflowing the stack.
Let's not do that.

--- a/sys/src/games/xs.c
+++ b/sys/src/games/xs.c
@@ -873,11 +873,11 @@
 
 	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);
--