PROBLEM: fork() & setpriority()

2005-07-11 Thread Rommer
Hello, I have trouble with fork() and setpriority(). When priority of child process != priority of parent process and used SIGCHLD handler. See example. kernel 2.6.12.1, no SMP -- Best regards, Roman #include #include #include #include #include #include #include struct sigaction sa_chld

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 allow