From: nejhdeh <nejhdeh@aimedics.com>
To: linux-kernel@vger.kernel.org
Subject: Re: Basic question
Date: Fri, 23 Aug 2002 11:44:35 +1000 [thread overview]
Message-ID: <200208231144.35721.nejhdeh@aimedics.com> (raw)
In-Reply-To: <200207190831.55757.nejhdeh@aimedics.com>
Hi,
I have a question about fork() and messages..
For simplicity, I have a parent process that forks() two child processes (say
pid1 & pid2).
How do I set priority levels of child1 vs child2. I want child1 to have a much
higher priority level, since its going to read inputs from a serial device in
the outside world?
Using basic signal calls say SIGUSR1, how can I communicate (without
semaphores) between child1 and child2 through the parent? For instance if the
child1 gets blocked forever trying to read the serial device then I want to
notify the parent to kill child2??
Your time in this matter is greatly appreciated.
> Regards
>
> Nejhdeh Ghevondian
next prev parent reply other threads:[~2002-08-23 1:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-18 22:31 nejhdeh
2002-07-25 12:53 ` Bill Davidsen
2002-08-23 1:44 ` nejhdeh [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-07-16 1:08 nejhdeh
2002-07-16 12:47 ` Erik Mouw
2001-08-01 20:44 Raghava Raju
2001-08-01 20:55 ` Richard B. Johnson
2001-08-01 21:04 ` Robert Love
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=200208231144.35721.nejhdeh@aimedics.com \
--to=nejhdeh@aimedics.com \
--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
all inboxes | Powered by JetHome®