🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #6394

Re: Response not in que?

#6394
From: Neil P.
Date: Thu, 12 May 2005 17:29
22 lines
2069 bytes
Well, here goes a curve ball at you guys.

If I open the port with CreateFile and I specify File_Flag_Overlapped, but
my file operations are not I/O Overlapped, what could happen?

Can I make the writefile operation I/O Overlapped and the readfile not?

If I make the writefile non-overlapped and do a write, is there a
possibility that it will hang the application? How about the read?

In my example (code snippet) of the read, while inside the while loop, is
the processor stuck in my while loop? or Is it doing the read, then
collecting information coming in on the RS232 uart, then going back into my
loop? How does that work?

If I don't make my read and write functions I/O overlapped, if I am using a
while loop for timing, will the processor be stuck in the loop or does it
have time to go look at the information coming is at the uart? Or does that
happen at the time is steps in the read function?

Thank you,
Neil P.
Technical Details
Message-ID: <4283946a$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <427fa27e@newsgroups.borland.com> <vugv711ona1kdbekucqqkg6csqkcd4agrd@4ax.com> <427fca8b$1@newsgroups.borland.com> <ukjv71lvb2s28pvi34r21cf1loa8nsqfnv@4ax.com> <427fd7cf$1@newsgroups.borland.com> <ainv71tis6a7m0pugjr1218hchvoha332j@4ax.com> <427ff5f0$1@newsgroups.borland.com> <pha081p0llphlf254k6go823dl1k37sede@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,369fa724017da622
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Neil P." <nporve01@hotmail.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <427fa27e@newsgroups.borland.com> <vugv711ona1kdbekucqqkg6csqkcd4agrd@4ax.com> <427fca8b$1@newsgroups.borland.com> <ukjv71lvb2s28pvi34r21cf1loa8nsqfnv@4ax.com> <427fd7cf$1@newsgroups.borland.com> <ainv71tis6a7m0pugjr1218hchvoha332j@4ax.com> <427ff5f0$1@newsgroups.borland.com> <pha081p0llphlf254k6go823dl1k37sede@4ax.com>
Subject: Re: Response not in que?
Date: Thu, 12 May 2005 13:29:35 -0400
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 68.209.111.59
Message-ID: <4283946a$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1115919466 68.209.111.59 (12 May 2005 10:37:46 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail