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,9bdd666589befb0f X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!e56g2000cwe.googlegroups.com!not-for-mail From: "Le" Newsgroups: comp.lang.ada Subject: Re: Palatable Windows IO using Ada Date: 7 Apr 2006 12:21:11 -0700 Organization: http://groups.google.com Message-ID: <1144437671.065921.226960@e56g2000cwe.googlegroups.com> References: <1144369304.698267.277640@u72g2000cwu.googlegroups.com> <15qxrbngb2kll.wkigwit0g1tn.dlg@40tude.net> <1144427423.152451.170970@j33g2000cwa.googlegroups.com> NNTP-Posting-Host: 128.115.35.70 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1144437676 26293 127.0.0.1 (7 Apr 2006 19:21:16 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 7 Apr 2006 19:21:16 +0000 (UTC) In-Reply-To: User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: e56g2000cwe.googlegroups.com; posting-host=128.115.35.70; posting-account=KkHgpQ0AAACJ6vo83UckeWojsCAJd4eu Xref: g2news1.google.com comp.lang.ada:3752 Date: 2006-04-07T12:21:11-07:00 List-Id: >You cannot read any device not knowing the size of input. You referred to blocks & lines previously indicating that you understood what was being referred to. I was speaking of byte sequences which vary in *length*. >> The ReadFile interface *is* blocking. Overlap allows an app to come >> back and see if it is done. >Then it is rather a strange definition of "blocking." In my world blocking >operation means that the execution thread gets blocked until its completes. >The thread cannot go anywhere it that state. Same universe that I am in... ReadFile blocks or times out. In the future if you don't have an answer to the heart of the question please resist the urge to wax pedagogical.