> From: Gilles Chanteperdrix [mailto:[email protected]] > Sent: Tuesday, May 03, 2011 7:36 PM > ... > >> On 05/03/2011 10:15 AM, [email protected] wrote: > >>> ... > >>> 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. > ... > Unfortunately, the patch as is is a bit hard to read. IMO, only > implementing readv will result in a more straight-forward implementation > which we could merge.
I understand. If you prefer, I can provide a patch which multiplies out the functions to a separate readv, though this will result in code duplication of the whole read function. Alternatively, I could comment the changes so that they are easier to read. Please let me know which flavour you favour. -- 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 _______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
