Re: waitpid(WNOHANG) should report SIGCHLD-notified signals [Re:[PATCH 09/11] job control: reorganize wait_task_stopped()]

From: Tejun Heo
Date: Mon May 16 2011 - 08:28:06 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/