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,d6f01a357b7f98ce X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns13feed!worldnet.att.net!attbi_s21.POSTED!53ab2750!not-for-mail From: "Jeffrey R. Carter" User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Direct_Io for Filesystem question References: <817032b7-4e8a-4589-9e44-00e7aef1fb06@v53g2000hsa.googlegroups.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 12.201.97.213 X-Complaints-To: abuse@mchsi.com X-Trace: attbi_s21 1224807251 12.201.97.213 (Fri, 24 Oct 2008 00:14:11 GMT) NNTP-Posting-Date: Fri, 24 Oct 2008 00:14:11 GMT Organization: AT&T ASP.att.net Date: Fri, 24 Oct 2008 00:14:11 GMT Xref: g2news1.google.com comp.lang.ada:2477 Date: 2008-10-24T00:14:11+00:00 List-Id: mhamel_98@yahoo.com wrote: > > I'm not *certain* I understand what you are saying, but my > interpretation of it led me to wrapping the direct_io.file_type and > its functionality in a protected type and bingo, all is well. I'm > curious if you meant something altogether different. Yes, that's what I meant. Technically a protected object is wrong, because I/O operations are "potentially blocking". -- Jeff Carter "When danger reared its ugly head, he bravely turned his tail and fled." Monty Python and the Holy Grail 60