All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Thiago Lima <thiagolims@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Get ready queue
Date: Sat, 06 Jun 2009 00:09:24 +0200	[thread overview]
Message-ID: <4A299794.6010504@domain.hid> (raw)
In-Reply-To: <6a782b880906051338r401163b2m7e1d1a53f7f0800@domain.hid>

Thiago Lima wrote:
> Hi everybody,
> 
> I have a function in a linux kernel module that is called whenever a
> function in xenomai domain starts. In this moment, i need to get the ready
> queue with all ready threads of xenomai.
> Do you realize how can i do that ?

If you are using a skin, then you should restrict yourself to the
services of that skin. If you are writing a skin, then the services you
can access are those of the nucleus.

http://www.xenomai.org/documentation/trunk/html/api/group__nucleus.html

If you are writing your own skin, then you can add an xnholder structure
to the TCB of your tasks, it will allow you to walk this list once you
need it.

-- 
					    Gilles.


  reply	other threads:[~2009-06-05 22:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-05 20:38 [Xenomai-help] Get ready queue Thiago Lima
2009-06-05 22:09 ` Gilles Chanteperdrix [this message]
2009-06-10 19:36   ` Thiago Lima
2009-06-10 19:59     ` Gilles Chanteperdrix
2009-07-17 11:18       ` Thiago Lima
2009-07-17 12:14         ` Philippe Gerum
2009-07-17 12:18         ` Gilles Chanteperdrix
2009-07-21 18:46           ` Thiago Lima

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=4A299794.6010504@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=thiagolims@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.