All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Lockhart <Thomas.Lockhart@domain.hid>
To: Franz Engel <franz_lambert_engel@domain.hid>
Cc: "xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] Process migrieren
Date: Sun, 24 Jul 2011 08:30:30 -0700	[thread overview]
Message-ID: <4E2C3A96.9090804@domain.hid> (raw)
In-Reply-To: <003901cc4a03$6676f0d0$3364d270$@de>


> I use a Api called „KogniMobil RTDB“. In the documentation the 
> programmer wrote that the Api runs with Xenomai. I read the make files 
> of the Api but there is nothing from Xenomai. Furthermore the 
> programmer wrote that I have to start the Tasks under the GPOS and 
> after the initialization I have to migrate the tasks to the RTOS and 
> let them run as a RT-Task. The migration should do by the methods of 
> Xenomai. Does somebody knows what methods the programmer means?
>
I'm sorry I don't have time to look up the details, but here is a code 
snippet from our RT app which transitions a Linux thread to a Xenomai RT 
thread.

hth

                                - Tom

  RT_TASK *mtsk;
  mtsk = (RT_TASK*)malloc(sizeof(RT_TASK));
  ...
  int err = rt_task_shadow(mtsk, 0, pTask->mPriority, T_FPU);

-- 
Thomas Lockhart
Supervisor, Distributed and Real-time Group
Instrument Software and Science Data Systems
Caltech/JPL



      parent reply	other threads:[~2011-07-24 15:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-24 13:12 [Xenomai-help] Process migrieren Franz Engel
2011-07-24 14:32 ` Adrian Boeing
2011-07-24 15:30 ` Thomas Lockhart [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=4E2C3A96.9090804@domain.hid \
    --to=thomas.lockhart@domain.hid \
    --cc=franz_lambert_engel@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.