From: Jan Kiszka <jan.kiszka@domain.hid>
To: Marcelo Coelho <mjcoelho@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Interrupt handler assistance
Date: Tue, 13 Jun 2006 19:27:09 +0200 [thread overview]
Message-ID: <448EF56D.1030101@domain.hid> (raw)
In-Reply-To: <1150219056.10703.1.camel@domain.hid>
[-- Attachment #1: Type: text/plain, Size: 619 bytes --]
Marcelo Coelho wrote:
> Hi!
>
> I'm porting a driver to RTAI, using RTDM. The original driver uses
> Workqueues to process the data received by the interrupt handler. What
> method does RTDM in a this situation?
>
RTDM doesn't provide an explicit queuing API, you may design a specific
one for your scenario (or keep the original one if it was not
RTAI-specific). What RTDM offers is locking (rtdm_lock_xxx) and
signalling (rtdm_event_xxx or rtdm_sem_xxx).
Patterns can be found e.g. in the serial driver (ring buffer with
rtdm_event) or in RTnet (packet queue with rtdm_event or rtdm_sem).
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]
prev parent reply other threads:[~2006-06-13 17:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-13 17:17 [Xenomai-help] Interrupt handler assistance Marcelo Coelho
2006-06-13 17:27 ` Jan Kiszka [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=448EF56D.1030101@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=mjcoelho@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.