🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #424

Timeouts when reading from a serial port

#424
From: Steven T. Abell
Date: Mon, 03 Aug 1992 18:18
9 lines
797 bytes
The read function blocks until it has read enough stuff from the port.
But if there is nothing out there to respond, the application hangs.
Very annoying. I've dealt with this kind of thing a zillion times on
embedded realtime systems, but I don't know how to approach it in this
programming environment. Is there a preferred way of solving this problem?

Thanks,

Steve abell@netcom.com
Technical Details
Message-ID: <71tmbc#.abell@netcom.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!decwrl!csus.edu!netcomsv!mork!abell

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!decwrl!csus.edu!netcomsv!mork!abell
From: abell@netcom.com (Steven T. Abell)
Subject: Timeouts when reading from a serial port
Message-ID: <71tmbc#.abell@netcom.com>
Date: Mon, 03 Aug 92 18:18:31 GMT
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Distribution: na
Keywords: timeout serial port
Lines: 9