From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <93d17f1bb17ee443306514a676cd165b@swtch.com> To: 9fans@cse.psu.edu Subject: Re: [9fans] closeproc slow From: "Russ Cox" Date: Sun, 23 Jul 2006 08:43:50 -0800 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 870085c8-ead1-11e9-9d60-3106f5b1d025 > do things happen differently if the process is not slain > but dies a natural death? yes. the closeprocs only come out when you run slay. their job is to close the file descriptors that the slain processes left behind. you have to do it in a different proc to avoid deadlocks in the general case. see http://9fans.net/archive/2006/01/48 and the ensuing discussion. russ