Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262354AbVAVFwH (ORCPT ); Sat, 22 Jan 2005 00:52:07 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262376AbVAVFwH (ORCPT ); Sat, 22 Jan 2005 00:52:07 -0500 Received: from fw.osdl.org ([65.172.181.6]:4551 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S262354AbVAVFwF (ORCPT ); Sat, 22 Jan 2005 00:52:05 -0500 Date: Fri, 21 Jan 2005 21:52:03 -0800 From: Chris Wright To: Ulrich Drepper Cc: Brent Casavant , linux-kernel@vger.kernel.org Subject: Re: Pollable Semaphores Message-ID: <20050121215203.S469@build.pdx.osdl.net> References: <20050121212212.GA453910@firefly.engr.sgi.com> <521xceqx90.fsf@topspin.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from drepper@gmail.com on Fri, Jan 21, 2005 at 07:43:05PM -0800 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 929 Lines: 21 * Ulrich Drepper (drepper@gmail.com) wrote: > And is another thing to consider. There is at least one other event > which should be pollable: process (maybe threads) deaths. I was > hoping that we get support for this, perhaps in the form of polling > the /proc/PID directory. For poll(), a POLLERR value could mean the > process/thread died. For select(), once again a bit in the except > array could be set. I have a simple patch that does just that. It worked after brief testing, then I never went back to look at it any more. I'll see if I can't dig it up, maybe it's useful. thanks, -chris -- Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/