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

On Mon, 16 May 2011 14:27:56 +0200, Tejun Heo wrote:
> 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?

They are - as without threads one needs reliable WNOHANG - while which you say
it is not reliable.

> 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.

BTW I really do not think this WNOHANG issue is anyhow related to this whole


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