From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: <1c691961f042c7f6194f62781d377b4e@coraid.com> Date: Tue, 14 Sep 2010 15:49:52 +0200 Message-ID: From: Gorka Guardiola To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [9fans] alt and chanfree Topicbox-Message-UUID: 5716b490-ead6-11e9-9d60-3106f5b1d025 On Tue, Sep 14, 2010 at 3:27 PM, Mathieu Lonjaret wrote: > > 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. -- - curiosity sKilled the cat