🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Overlapped and non-overlapped comms in Threads

#17571
From: Kevin Dyke
Date: Sun, 16 Mar 2003 14:14
21 lines
1816 bytes
Hi

I am currently developing a program to simultaneously test six lasers.
The plan is that each laser will be tested by a unique thread.
The protocol is master-slave with the test program as master.

Once the test program has sent a message to the laser , its waits for a reply, with no work done in-between. The maximum time for the laser to reply is 800ms.

Would this application benefit from using overlapped communications? Would the other threads be allow to benefit from the pause in communications in terms of cpu cycles?

The communcations are proved by a Comtrol RocketPort Serial Hub Si which provides 8 extra comm ports over an ethernet link.

The data from the lasers to be displayed on a string-grid.

Can someone point me at a good source of information on overlapped communications?

Best Regards and Thanks in Advance
Kevin Dyke
Software Engineer
Thales Optronics (Taunton) Ltd
Technical Details
Message-ID: <3e7486d9$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,b14aa09ac2440185,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-03-16 06:17:56 PST
From: "Kevin Dyke" <kdyke@avimo.co.uk>
Sender: "Kevin Dyke" <kdyke@avimo.co.uk>
Reply-To: "Kevin Dyke" <kdyke@avimo.co.uk>
Subject: Overlapped and non-overlapped comms in Threads
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 81.86.4.217 81.86.4.217    
X-Forwarded-For: 172.22.8.71, unknown, unknown, unknown
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3e7486d9$1@newsgroups.borland.com>
Date: 16 Mar 2003 06:14:49 -0800
X-Trace: newsgroups.borland.com 1047824089 207.105.83.65 (16 Mar 2003 06:14:49 -0800)
Lines: 21
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail