Re: PROBLEM: fork() & setpriority()

From: Arjan van de Ven
Date: Mon Jul 11 2005 - 06:10:04 EST


On Mon, 2005-07-11 at 13:58 +0300, Rommer wrote:
> Hello,
>
> I have trouble with fork() and setpriority().
> When priority of child process != priority of parent process
> and used SIGCHLD handler.
> See example.

the example is buggy in that printf() isn't allowed in signal handlers
btw...


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