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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,565ddc0e6b80e338 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!out04b.usenetserver.com!news.usenetserver.com!in04.usenetserver.com!news.usenetserver.com!uns-out.usenetserver.com!news.usenetserver.com!pc02.usenetserver.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail Newsgroups: comp.lang.ada Subject: Re: copying data between memory locations References: <1188809968.217323.145640@r29g2000hsg.googlegroups.com> From: Stephen Leake Date: Tue, 04 Sep 2007 07:31:17 -0400 Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) Cancel-Lock: sha1:psmYuxo+7UH9y5gHTXZCrhgZof4= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: 6ad4346dd4209e05e48ed29113 Xref: g2news2.google.com comp.lang.ada:1727 Date: 2007-09-04T07:31:17-04:00 List-Id: jef.mangelschots@gmail.com writes: > In our current design, we have a package that maintains a list of > descriptors of various buffers in the application. We don't want to > know their datatypes or how to write data into them. Ok, you don't need to write to the buffers. > We only want to maintain a physical address of them and use that > address to directly write data into these buffers (this data comes > out incoming packets over the network). Umm, now you do need to write to the buffers? As others have pointed out, your requirements are not well-stated; they assume the implementation. And in fact, they are contradictory. -- -- Stephe