comp.lang.ada
 help / color / mirror / Atom feed
From: jwidere@rsa.hisd.harris.com (John F Widere)
Subject: serial port problem on close
Date: 1998/07/06
Date: 1998-07-06T00:00:00+00:00	[thread overview]
Message-ID: <6nr769$9ph@su102w.ess.harris.com> (raw)


Hi,
 
I am debugging an application which monitors a device via an RS-232 interface.
The serial line is connected to the ttyd2 device on an SGI R10K indigo II.  What we
have attempted to do is to detect when the connection has been lost ( we pull the cable), close the port and then poll periodically trying to do another open on
the port.  What we are seeing is that the process is hanging on the close.
 
Some particulars:
   We are using the Apex Ada compiler (2.4.1) on the SGI
   we have set up the port as a read connection and a write connection.
   The close works fine (it appears) when normally shutting down the process 
   (ie. the connection was not lost)
 
Does anybody have any insight or words of wisdom?
 
Thanks
 
John Widere


-- 
*************************************
* John Widere 
* Email: jwidere@rsa.hisd.harris.com
*************************************






                 reply	other threads:[~1998-07-06  0:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
replies disabled

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