Re: PROBLEM: fork() & setpriority()

2005-07-11 Thread Rommer
Hello, Arjan van de Ven wrote: 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 si

Re: PROBLEM: fork() & setpriority()

2005-07-11 Thread Arjan van de Ven
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... - T