From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Tue, 14 Sep 2010 10:17:13 -0400 To: 9fans@9fans.net Message-ID: <5b73ce333ceed4d8bb71f0e017f70cca@plug.quanstro.net> In-Reply-To: References: <1c691961f042c7f6194f62781d377b4e@coraid.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] alt and chanfree Topicbox-Message-UUID: 571c577e-ead6-11e9-9d60-3106f5b1d025 > > isn't that what chanclose()/chanclosing() is for? > > > > - erik > > > > > > Not at all. Chanclose and chanclosing are to be used while the channel > still exists. > A closed channel is not a freed channel. Close/closing are useful for > synchronizing the cleanup > but no other operation should be done on a channel after it has been > freed because > the channel no longer exists. of course i ment using chanclose as the first step. the thread running the alt can free the closed channel. - erik