* [Xenomai-help] rt_receive / rt_reply
@ 2006-06-08 14:29 Nicola Pace
2006-06-08 14:44 ` Philippe Gerum
0 siblings, 1 reply; 2+ messages in thread
From: Nicola Pace @ 2006-06-08 14:29 UTC (permalink / raw)
To: xenomai
After an rt_receive, is it possible to defer the rt_reply to a later
time and in the meantime to do other rt_receive ? In other words, is the
following sequence right ?
rt_receive
... something received from Task A
rt_receive
... something received from Task B
rt_receive
... something received from Task C
reply to Task A
reply to Task C
.
.
.. and so on .
Regards
--
*Ing. Nicola Pace *
Technical Department
*
TDEMACNO Spa (VICENZA)
* <http://www.tdemacno.it> tel: 0444 343555
fax: 0444 343509
mail: nicola@domain.hid
Skype:
*
Riservatezza / Confidentiality*/
In ottemperanza al D.L. n. 196 del 30/6/2003 in materia di protezione
dei dati personali, le informazioni contenute in questo messaggio sono
strettamente riservate ed esclusivamente indirizzate al destinatario
indicato (oppure alla persona responsabile di rimetterlo al
destinatario). Vogliate tener presente che qualsiasi uso, riproduzione o
divulgazione di questo messaggio e' vietata. Nel caso in cui aveste
ricevuto questa mail/fax per errore, vogliate cortesemente avvertire il
mittente e distruggere il presente messaggio.
Accordingly to italian law D.L. 196/2003 concerning privacy, if you are
not the adressee (or responsible for delivery of the message to such
person) you are hereby notified that any disclosure, reproduction,
distribution or other dissemination or use of this communication is
strictly prohibited. If you have received this message in error, you
should destroy it and please notify us by email. /
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [Xenomai-help] rt_receive / rt_reply
2006-06-08 14:29 [Xenomai-help] rt_receive / rt_reply Nicola Pace
@ 2006-06-08 14:44 ` Philippe Gerum
0 siblings, 0 replies; 2+ messages in thread
From: Philippe Gerum @ 2006-06-08 14:44 UTC (permalink / raw)
To: Nicola Pace; +Cc: xenomai
Nicola Pace wrote:
> After an rt_receive, is it possible to defer the rt_reply to a later
> time and in the meantime to do other rt_receive ? In other words, is the
> following sequence right ?
>
> rt_receive
> ... something received from Task A
> rt_receive
> ... something received from Task B
> rt_receive
> ... something received from Task C
> reply to Task A
> reply to Task C
> .
> .
> .. and so on .
>
Yes, provided you pass rt_task_reply() the proper flow identifier as
received from rt_task_receive() for both ongoing transactions. The
flowid also allows to deal with situations where the requestor vanishes
away while its request is being processed by the receiver, before the
latter has had a chance to reply. In the latter case, the flowid cannot
match any pending requestors, and -ENXIO would be returned.
--
Philippe.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-06-08 14:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-08 14:29 [Xenomai-help] rt_receive / rt_reply Nicola Pace
2006-06-08 14:44 ` Philippe Gerum
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.