From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: davide doninelli <davide.doninelli@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] process on linux
Date: Fri, 01 Apr 2011 11:32:05 +0200 [thread overview]
Message-ID: <4D959B95.4060006@domain.hid> (raw)
In-Reply-To: <A537C502-9185-43A0-999B-A2DB8583008E@edu.hefr.ch>
davide doninelli wrote:
> Hi
> i see in linux proces 3 xenomai processes per xenomai RT task .
> I don't understand what are the first 2 process.
> Is that right? What are used for? Tasks are like in envelope?
> i don't find information about that.
>
> #ps
> ....
> 483 root ./interrupt_xeno_userspacen
> 484 root ./interrupt_xeno_userspacen
> 485 root ./interrupt_xeno_userspacen
With the quantity of information you give us, we can only guess, but you
probably use a linuxthreads based libc, so:
- each thread appears as an entry in ps output
- there is a "manager" thread called when creating the first thread.
So, 483 is probably the main thread, 484 the manager thread, 485 is the
"mytask" thread.
Still guessing, I think you are confusing 2 + N with 3 * N, because you
only tested with N == 1.
--
Gilles.
next prev parent reply other threads:[~2011-04-01 9:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-01 8:46 [Xenomai-help] process on linux davide doninelli
2011-04-01 9:32 ` Gilles Chanteperdrix [this message]
2011-04-01 9:52 ` davide doninelli
2011-04-01 9:58 ` Gilles Chanteperdrix
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=4D959B95.4060006@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=davide.doninelli@domain.hid \
--cc=xenomai@xenomai.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.