Re: Async user space notification from kernel?

David S. Miller (davem@redhat.com)
Thu, 26 Aug 1999 04:54:44 -0700


Date: Thu, 26 Aug 1999 12:38:41 +0100 (BST)
From: Alan Cox <alan@lxorguk.ukuu.org.uk>

You can certainly add select support to a proc file. It is
doable. Odd but doable.

Odd, however it could be quite useful for /proc/${pid}

It might even lead to a nice solution to the problem of debugging
threaded applications. Here a lot of the problems with gdb getting
things right have to do with reparenting and how thread libraries
implement things internally, signals, what have you.

When you can do selects on /proc/${pid}/debug or whatever, a lot of
the "what should we do if xxx" questions then have answers.

Later,
David S. Miller
davem@redhat.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/