All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Chris Stone <chris.stone@domain.hid>
Cc: "xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] Should posix threads show up in /proc/xenomai/sched.
Date: Wed, 14 Mar 2012 19:07:44 +0100	[thread overview]
Message-ID: <4F60DE70.90505@domain.hid> (raw)
In-Reply-To: <623784B6C75D274389918D358E89E8BB0B78EBC6@domain.hid>

On 03/14/2012 06:59 PM, Chris Stone wrote:
> Using the "Porting POSIX applications to Xenomai" document I have
> ported an existing application to Xenomai. We create multiple threads
> in our application and I have the following questions related to
> posix threads (I could not find an answer in a search of
> xenomai-help):
> 
> If the threads are running in primary mode, should they be listed in
> /proc/xenomai/sched? My threads show up, with the correct real time
> priorities, when I do a top -H, but they are not in
> /proc/xenomai/sched, so does that mean they are all running in
> secondary mode?
> 
No, it means that they are not xenomai thread. If the application is
compiled correctly, xenomai threads are those created with pthread_create.

-- 
                                                                Gilles.


      reply	other threads:[~2012-03-14 18:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-14 17:59 [Xenomai-help] Should posix threads show up in /proc/xenomai/sched Chris Stone
2012-03-14 18:07 ` Gilles Chanteperdrix [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=4F60DE70.90505@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=chris.stone@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.