comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Port LPT + ADA (whta do I wrong?)
Date: Wed, 8 Dec 2004 09:27:48 +0100
Date: 2004-12-08T09:27:48+01:00	[thread overview]
Message-ID: <1oiqtc4remzd3$.1f3hkv2bs9y2d.dlg@40tude.net> (raw)
In-Reply-To: VbKdnfKmSI1LHyvcRVn-2A@comcast.com

On Tue, 7 Dec 2004 20:28:11 -0800, Steve wrote:

> Before using OVERLAPPED operations I found the little ideosyncracy that if I 
> had one thread waiting on a read, another thread couldn't do a write until 
> the read finished.  Using overlapped the write causes the read to wake up, 
> the write does it's thing.  When my code detects that the read hasn't 
> finished, it goes back and reads again.  A pain in the butt, but it works.
>
> I remember finding an article on Microsofts site describing overlapped I/O 
> and how it was a new and special feature that they had implemented.  That 
> was news to me since I have written communications applications on other 
> operating systems where you don't have to do anything special to have a read 
> task and a write task work on the same communications port.

For those who knew RSX-11 and VMS overlapped I/O is quite natural. In fact
when I first saw how UNIX SysV dealt with full duplex stuff I was upset!

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



  reply	other threads:[~2004-12-08  8:27 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-03 13:56 Port LPT + ADA S�awo - MIR
2004-12-03 14:40 ` Martin Krischik
2004-12-03 15:29   ` Slawo - MIR
2004-12-03 18:46     ` Martin Krischik
2004-12-03 18:43 ` tmoran
     [not found] ` <u111r0db4fsoj9u3hlkachspjt0r2vvup7@4ax.com>
2004-12-03 23:03   ` Adrien Plisson
2004-12-03 23:51     ` Slawo - MIR
2004-12-04  0:51     ` Jeffrey Carter
2004-12-04 18:05 ` Port LPT + ADA (whta do I wrong?) S�awo - MIR
2004-12-04 20:20   ` Dmitry A. Kazakov
2004-12-07 18:13     ` Slawo - MIR
2004-12-07 20:55       ` Dmitry A. Kazakov
2004-12-08  4:28         ` Steve
2004-12-08  8:27           ` Dmitry A. Kazakov [this message]
2004-12-12 22:25           ` Brian May
2004-12-14  2:41             ` Steve
2004-12-12 22:46           ` Brian May
2004-12-12 23:03             ` Adrien Plisson
     [not found]       ` <rt8dr09tuvgbqaeq9vmujd1pqtb72hbamv@4ax.com>
2004-12-09  8:17         ` Jerry van Dijk
2004-12-05  6:45   ` Brian May
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox