Re: wait4/waitpid/waitid oddness

From: Joshua Hudson
Date: Thu Apr 06 2006 - 22:10:17 EST


On 4/5/06, Albert Cahalan <acahalan@xxxxxxxxx> wrote:
> The kernel prohibits:
>
> 1. WNOHANG on waitpid/wait4
> 2. __WALL on waitid
>
> Why? I need both at once.

Why don't you try removing the checks and see if anything breaks. My instinct
says that waitid is less likely to break.

I'm the guy who removed the check in link() about source is a directory, found
out what broke, and am working on a patch to fix all the resulting breakage.
Your task is apt to be a lot simpler.
-
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/