[lkml]   [2008]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC PATCH] waitfd: file descriptor to wait on child processes
Alan Cox wrote:
>> prototype for a fourth: waitfd. It pretty much does what the name
>> suggests: reading from it yields a series of status ints (as would be
>> written into the second argument of waitpid) for child processes that
>> have changed state. It takes essentially the same arguments as waitpid
>> (for now) and supports the same set of features.
> This propogates the fundamental braindamage of waitpid - the fact the
> notification only works on child process trees.
> Here is a more elegant suggestion - use epoll, inotify and friends fully
> on /proc process nodes.
> Alan
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to
> More majordomo info at
> Please read the FAQ at
Last I checked inotify was not supported in /proc, or at least most of
it. What kind of work load is it to change that?


 \ /
  Last update: 2008-12-09 19:49    [W:0.089 / U:3.908 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site