[lkml]   [2002]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [patch] O(1) sys_exit(), threading, scalable-exit-2.5.31-A6

On Mon, 19 Aug 2002, Dave McCracken wrote:

> > No, you only need to make debugged children slightly pecial in wait4(), in
> > that the parent must never see their state, only the fact that they are
> > there (as if they were still running, in short, regardless of their _real_
> > state)
> So does that mean we need something like a 'count of children stolen by
> debuggers' in the task struct that wait4() can check?

in fact we have this already, almost:

if (!list_empty(&current->ptrace_children))

then block (or return -EAGAIN). Instead of the current -ENOCHLD.


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 update: 2005-03-22 13:28    [W:0.112 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site