All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: "Li Yi (Adam)" <liyiadam@domain.hid>
Cc: xenomai-help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] Sychronize between Linux and Xenomai domain
Date: Wed, 12 Jul 2006 08:34:38 +0200	[thread overview]
Message-ID: <44B497FE.9090207@domain.hid> (raw)
In-Reply-To: <4546494d0607111851t3d432f80offde2c1a2ef37689@domain.hid>

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

Li Yi (Adam) wrote:
> Hi Jan,
> 
> You mentioned that:
> 
> "You might prevent rescheduling by
> setting the scheduler lock of Xenomai, but this still doesn't protect
> from IRQs."
> 
> If I don't want to stop Xenomai domain from receiving interrupt at all,
> Just want to block certain Xenomai task.

Then take care of this in the IRQ handler: if some task shall not
receive any notification, do not deliver. Or disable the specific IRQ
(rtdm_irq_disable) as long as it is not shared and no other tasks are
waiting for it.

> Is there a specific set of functions/macros which disable/enable specific
> real-time event
> processing (for instance, real-time task execution).  In this scheme,
> the ADEOS scheduler still executes, but now checks whether a real-time

Adeos has no scheduler, it only maintains the IRQ/event pipepline.

> task has been "blocked" for execution.  If it is blocked, the scheduler
> does not schedule the task. When the real-time task is "unblocked" by
> the Linux ROOT domain, it resumes real-time execution.

rt_task_suspend/resume of the native skin may help you. But, of course,
this will not prevent the IRQ handler from being executed. And there are
likely other ways, but this depends on your application design which I
don't know. In any case, nothing RT-specific here.

Jan


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

  reply	other threads:[~2006-07-12  6:34 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-10  6:16 [Xenomai-help] Sychronize between Linux and Xenomai domain Li Yi (Adam)
2006-07-10  7:11 ` Jan Kiszka
2006-07-10  8:48   ` Li Yi (Adam)
2006-07-10  9:07     ` Jan Kiszka
2006-07-10  9:31       ` Li Yi (Adam)
2006-07-10  9:44         ` Jan Kiszka
2006-07-11  4:25           ` Li Yi (Adam)
2006-07-11  6:14             ` Jan Kiszka
2006-07-11  6:48               ` Li Yi (Adam)
2006-07-11  6:53                 ` Li Yi (Adam)
2006-07-11  7:29                   ` Jan Kiszka
2006-07-11  7:43                     ` Li Yi (Adam)
2006-07-11  7:47                       ` Jan Kiszka
2006-07-12  1:51                       ` Li Yi (Adam)
2006-07-12  6:34                         ` Jan Kiszka [this message]
2006-07-12  7:34                           ` Li Yi (Adam)
2006-07-12  7:51                             ` Jan Kiszka
2006-07-12  8:24                               ` Li Yi (Adam)
2006-07-12  8:51                                 ` Jan Kiszka
2006-07-14  8:37             ` Philippe Gerum

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=44B497FE.9090207@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=liyiadam@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.