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: Wed, 10 Jun 2009 21:59:58 +0200 [thread overview]
Message-ID: <4A3010BE.9020107@domain.hid> (raw)
In-Reply-To: <6a782b880906101236l625792d5p6fcd3dad53e965a2@domain.hid>
Thiago Lima wrote:
> Sorry, i didnt understand you answer.
The question was vague, so was the answer.
> I get the global queue doing this:
>
> threads = &pod->threadq; // GLOBAL QUEUE
> holder = getheadq(&nkpod->threadq); //HEAD NODE
These are internal data, you are not supposed to access them that way.
Besides threadq is not the ready queue. And with the recent advent of
the scheduler classes, you could not do the same modification for the
latest version of Xenomai. In short, it is a bad idea, really.
If you explained us what you are trying to do (and not how you are
trying to do it), maybe we could help. Chances are that you can do what
you do without changing Xenomai core, simply using hooks for instance.
--
Gilles.
next prev parent reply other threads:[~2009-06-10 19:59 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
2009-06-10 19:36 ` Thiago Lima
2009-06-10 19:59 ` Gilles Chanteperdrix [this message]
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=4A3010BE.9020107@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.