* [Xenomai-help] Interrupt handler assistance
@ 2006-06-13 17:17 Marcelo Coelho
2006-06-13 17:27 ` Jan Kiszka
0 siblings, 1 reply; 2+ messages in thread
From: Marcelo Coelho @ 2006-06-13 17:17 UTC (permalink / raw)
To: xenomai
[-- Attachment #1: Type: text/plain, Size: 962 bytes --]
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?
Thanks for your replies
DISCLAIMER: This message may contain confidential information or privileged material and is intended only for the individual(s) named. If you are not a named addressee and mistakenly received this message you should not copy or otherwise disseminate it: please delete this e-mail from your system and notify the sender immediately. E-mail transmissions are not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete or contain viruses. Therefore, the sender does not accept liability for any errors or omissions in the contents of this message that arise as a result of e-mail transmissions. Please request a hard copy version if verification is required. Critical Software.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Xenomai-help] Interrupt handler assistance
2006-06-13 17:17 [Xenomai-help] Interrupt handler assistance Marcelo Coelho
@ 2006-06-13 17:27 ` Jan Kiszka
0 siblings, 0 replies; 2+ messages in thread
From: Jan Kiszka @ 2006-06-13 17:27 UTC (permalink / raw)
To: Marcelo Coelho; +Cc: xenomai
[-- 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 --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-06-13 17:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-13 17:17 [Xenomai-help] Interrupt handler assistance Marcelo Coelho
2006-06-13 17:27 ` Jan Kiszka
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.