> From: [email protected]
[mailto:[email protected]]
> On Behalf Of [email protected]
> Sent: Friday, April 29, 2011 8:31 AM
> Cc: [email protected]
> Subject: Re: [Xenomai-help] message pipe message boundaries
> 
> > From: Philippe Gerum [mailto:[email protected]]
> > Sent: Wednesday, April 27, 2011 11:43 PM
> >
> > On Wed, 2011-04-27 at 14:22 +0200, [email protected]
> > wrote:
> > > ... Wouldn't it be desirable to implement the
> > > readv file operation in the rtpipe driver so that the guarantee
"One
> > > read() per rt_pipe_write()" could cover readv(2) also?
> >
> > No objection to merge this. Patch welcome.
> 
> Well, I'll try to come up with one.

We at manroland now use (with Xenomai 2.4) the attached patch, which
implements the readv file operation in the rtpipe driver so that the
assertion "One read() per rt_pipe_write()" (message boundaries
preserved) covers readv(2) also.
-- 
Dietmar

--------------------------------------------------------
manroland AG
Vorsitzender des Aufsichtsrates: Hanno C. Fiedler
Vorstand: Gerd Finkbeiner (Vorsitzender), Dr. Ingo Koch, Dr. Markus Rall, Paul 
Steidle   
Sitz der Gesellschaft: Offenbach am Main, Registergericht: Amtsgericht 
Offenbach HRB-Nr. 42592
USt-Ident-Nr. DE 250200933

Attachment: pipe.diff
Description: pipe.diff

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to