All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: roland Tollenaar <rolandtollenaar@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] hello xenomai world?
Date: Thu, 22 Feb 2007 12:26:56 +0100	[thread overview]
Message-ID: <45DD7E00.8020505@domain.hid> (raw)
In-Reply-To: <bc4264770702220311m604b0dcdh2543e40405451147@domain.hid>

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

roland Tollenaar wrote:
> Hi,
> 
> I must be making a big mistake. I am browsing through latency in
> testsuit trying to learn how to set up some tasks that will execute at
> regular intervals. I kind of had RTAI examples in mind which seemed
> rather simple to me. Looking at the code in latency is a horrible
> shock.
> 
> Is it at all possible to explain in a couple of lines how a periodic
> task can be run, lets say a hello world example that puts out the line
> "hello xenomai world" exactly every 1ms?

See examples/native/trivial-periodic.c

Also read the comments. :)

To overcome the latency issue of printf, there is some patch in sight:

https://mail.gna.org/public/xenomai-core/2007-02/msg00087.html

specifically

https://mail.gna.org/public/xenomai-core/2007-02/msg00089.html

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

  reply	other threads:[~2007-02-22 11:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-22 11:11 [Xenomai-help] hello xenomai world? roland Tollenaar
2007-02-22 11:26 ` Jan Kiszka [this message]
2007-02-22 12:56   ` roland Tollenaar
2007-02-22 13:25     ` Jan Kiszka
2007-02-22 14:41       ` roland Tollenaar
2007-02-22 15:12         ` Jan Kiszka

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=45DD7E00.8020505@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=rolandtollenaar@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.