From mboxrd@z Thu Jan 1 00:00:00 1970 Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <14ec7b180711240800k320b4c08i3945e4979bd8eaf7@mail.gmail.com> References: <217E2E30-ED7F-40A8-9C11-7D0689255996@mac.com> <74BC7D07-43D3-4DA1-B0ED-1F1C4615DB2B@mac.com> <14ec7b180711240800k320b4c08i3945e4979bd8eaf7@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <9BD59CB3-3F41-415B-AC30-39773DDF99C2@mac.com> Content-Transfer-Encoding: 7bit From: Pietro Gagliardi Subject: Re: [9fans] Attempt at making 3D graphics library Date: Sat, 24 Nov 2007 11:21:57 -0500 To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Topicbox-Message-UUID: 0a29a38e-ead3-11e9-9d60-3106f5b1d025 On Nov 24, 2007, at 11:00 AM, andrey mirtchovski wrote: >> Use q to quit (and >> crash, for some threadexitsall-related reason). > > that usually means you need a bigger stack for your threads. Setting both threads to 4096 stacksize fixed it. I'll note that in my tutorial. I used one thread to interpret mouse events, since for some odd reason eresized() is sent through the mouse. :-(