[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110516122756.GT23665@htj.dyndns.org>
Date: Mon, 16 May 2011 14:27:56 +0200
From: Tejun Heo <tj@...nel.org>
To: Jan Kratochvil <jan.kratochvil@...hat.com>
Cc: Oleg Nesterov <oleg@...hat.com>, vda.linux@...glemail.com,
linux-kernel@...r.kernel.org, torvalds@...ux-foundation.org,
akpm@...ux-foundation.org, indan@....nu
Subject: Re: 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists