From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,8ab6ed0f71c479cd X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news2.google.com!postnews.google.com!k19g2000yqg.googlegroups.com!not-for-mail From: sjw Newsgroups: comp.lang.ada Subject: Re: API design problem - buffer scatter I/O Date: Wed, 26 Nov 2008 12:39:57 -0800 (PST) Organization: http://groups.google.com Message-ID: <9bfc2704-d22f-4614-93f1-7ad381f96540@k19g2000yqg.googlegroups.com> References: <2559d62b-68bb-4107-9e6b-75f77114908f@d23g2000yqc.googlegroups.com> NNTP-Posting-Host: 62.49.19.209 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1227731997 17652 127.0.0.1 (26 Nov 2008 20:39:57 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 26 Nov 2008 20:39:57 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: k19g2000yqg.googlegroups.com; posting-host=62.49.19.209; posting-account=_RXWmAoAAADQS3ojtLFDmTNJCT0N2R4U User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_5; en-us) AppleWebKit/525.26.2 (KHTML, like Gecko) Version/3.2 Safari/525.26.12,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:2817 Date: 2008-11-26T12:39:57-08:00 List-Id: On Nov 26, 8:34=A0am, Maciej Sobczak wrote: > Of course, you could still argue that in the case of real I/O it might > be done with just a sequence of separate I/O calls for each involved > buffer, so again scatter operation is not necessary, but then the > counterargument would be for example atomicity of the whole data > transfer. And so on. And is quite unlikely to work for UDP (you have to send/receive the whole datagram in one go ..)