From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Subject: Re: [9fans] silent limit in thread(2) Channels which can corrupt the stack? From: Sape Mullender MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Message-Id: <20011120140400.4FDC0199E4@mail.cse.psu.edu> Date: Tue, 20 Nov 2001 09:03:56 -0500 Topicbox-Message-UUID: 254f7958-eaca-11e9-9e20-41e7f4b1d025 You are correct. It is possible to get into trouble when there are more than 32 threads reading on a channel. I'll increase the limit and make sure that going over the limit is flagged. We use threaded programs very heavily here but we've never exceeded that particular limit. One problem is that allocating (malloc/realloc) the wait list causes incredible race conditions. Sape