All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Jose Augusto Matos Santos <jamsjr@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] Questions about Xenomai
Date: Tue, 22 Jan 2008 21:50:37 +0100	[thread overview]
Message-ID: <18326.22301.47059.975010@domain.hid> (raw)
In-Reply-To: <f970a6d60801100313t58c8132ehda98e790ff5f5f42@domain.hid>

Jose Augusto Matos Santos wrote:
 > Hi,
 > 
 > I would like to understand Xenomai's scheduler and it will be a pleasure if
 > you recomend me something to read.

There are two things you can read:
- the source, yes, sorry, but this is the best documentation; fortunately,
  Xenomai scheduler is way much simpler than, for instance, Linux
  scheduler. Look particularly in ksrc/nucleus/pod.c for the functions:
  . xnpod_suspend_thread
  . xnpod_resume_thread
  . xnpod_renice_thread
  and, of course xnpod_schedule
- xenomai nucleus module documentation, you will find documentation for
  Xenomai nucleus services, whether related to the scheduler or not:
 http://www.xenomai.org/documentation/trunk/html/api/group__nucleus.html

 > And I want to know if there is any pattern
 > to write Xenomai's api.

I guess by Xenomai's API, you mean Xenomai skin. Yes, there is a
document:
http://www.rtai.dk/cgi-bin/gratiswiki.pl?How_To_Implement_A_New_Skin
I find it on rthe RTAI wiki, but not on Xenomai wiki, maybe we should
copy it here ?

But, the best documentation is to look at other skins. You can look at
the psos+ skin for instance.

-- 


					    Gilles Chanteperdrix.


      reply	other threads:[~2008-01-22 20:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-10 11:13 [Xenomai-core] Questions about Xenomai Jose Augusto Matos Santos
2008-01-22 20:50 ` 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=18326.22301.47059.975010@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=jamsjr@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.