lkml.org 
[lkml]   [2011]   [May]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: waitpid(WNOHANG) should report SIGCHLD-notified signals [Re: [PATCH 09/11] job control: reorganize wait_task_stopped()]
Hey,

On Mon, May 16, 2011 at 02:11:16PM +0200, Jan Kratochvil wrote:
> It cannot as various GDB-supported platforms do not support threads properly.
> And you want to have a common codebase to get it will supported.
>
> Besides that it is a matter of coding style, I perfer "poll() model" even on
> threads-supporting GNU/Linux.

The above wouldn't be linux kernel's top design concerns, right?

> > Anyways, I would recommend using sleeping wait(2)'s for ptrace event
> > tracking.
>
> You cannot as I described above.

If you prefer that, go ahead. It's not like new interface is gonna
break that, but I think it's gonna be more fragile. Well, it
shouldn't be worse than now.

Thanks.

--
tejun


\
 
 \ /
  Last update: 2011-05-16 14:31    [W:0.083 / U:21.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site