Messages in this thread | | | Date | Fri, 21 Jan 2005 21:52:03 -0800 | From | Chris Wright <> | Subject | Re: Pollable Semaphores |
| |
* 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/
| |