All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] Questions about Xenomai
@ 2008-01-10 11:13 Jose Augusto Matos Santos
  2008-01-22 20:50 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 2+ messages in thread
From: Jose Augusto Matos Santos @ 2008-01-10 11:13 UTC (permalink / raw)
  To: xenomai

[-- Attachment #1: Type: text/plain, Size: 190 bytes --]

Hi,

I would like to understand Xenomai's scheduler and it will be a pleasure if
you recomend me something to read.And I want to know if there is any pattern
to write Xenomai's api.

Thanks

[-- Attachment #2: Type: text/html, Size: 216 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Xenomai-core] Questions about Xenomai
  2008-01-10 11:13 [Xenomai-core] Questions about Xenomai Jose Augusto Matos Santos
@ 2008-01-22 20:50 ` Gilles Chanteperdrix
  0 siblings, 0 replies; 2+ messages in thread
From: Gilles Chanteperdrix @ 2008-01-22 20:50 UTC (permalink / raw)
  To: Jose Augusto Matos Santos; +Cc: xenomai

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-01-22 20:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-10 11:13 [Xenomai-core] Questions about Xenomai Jose Augusto Matos Santos
2008-01-22 20:50 ` Gilles Chanteperdrix

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.