From: Rommer <rommer@active.by>
To: Arjan van de Ven <arjan@infradead.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: PROBLEM: fork() & setpriority()
Date: Mon, 11 Jul 2005 14:14:25 +0300 [thread overview]
Message-ID: <42D25491.5020207@active.by> (raw)
In-Reply-To: <1121080075.3177.16.camel@laptopd505.fenrus.org>
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 signal handlers
> btw...
>
ok, you can remove printf() from SIGCHLD handler.
--
Best regards, Roman
prev parent reply other threads:[~2005-07-11 11:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-11 10:58 PROBLEM: fork() & setpriority() Rommer
2005-07-11 11:07 ` Arjan van de Ven
2005-07-11 11:14 ` Rommer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=42D25491.5020207@active.by \
--to=rommer@active.by \
--cc=arjan@infradead.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox