All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: sanjay anvekar <sanjayanvekar@domain.hid>
Cc: "xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] Xenomai-Driver
Date: Wed, 08 Jun 2011 10:05:17 +0200	[thread overview]
Message-ID: <4DEF2D3D.9090409@domain.hid> (raw)
In-Reply-To: <737283.11182.qm@domain.hid>

On 06/08/2011 04:22 AM, sanjay anvekar wrote:
>      rt_task_yield() - To allow execution of other tasks.

It is a bit hard to answer without seeing any code, but there is a
simple remark we can make: rt_task_yield does not "allow execution of
other tasks", rt_task_yield only allows execution of tasks with same
priority as the current task. Your real-time tasks have to let Linux run
from time to time if you want the serial port and graphic display to run
correctly, and in order to do this they have to get suspended,
rt_task_yield will definitely not do that.

-- 
                                                                Gilles.


  reply	other threads:[~2011-06-08  8:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-08  2:22 [Xenomai-help] Xenomai-Driver sanjay anvekar
2011-06-08  8:05 ` Gilles Chanteperdrix [this message]
2011-06-21 12:02   ` sanjay anvekar
2011-06-21 20:54     ` Gilles Chanteperdrix
2011-06-22  3:29       ` sanjay anvekar
2011-06-22  7:02         ` Gilles Chanteperdrix

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=4DEF2D3D.9090409@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=sanjayanvekar@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.