lkml.org 
[lkml]   [1999]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Async user space notification from kernel?
   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/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.033 / U:0.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site