comp.lang.ada
 help / color / mirror / Atom feed
* serial port problem on close
@ 1998-07-06  0:00 John F Widere
  0 siblings, 0 replies; only message in thread
From: John F Widere @ 1998-07-06  0:00 UTC (permalink / 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
*************************************






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-07-06  0:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-07-06  0:00 serial port problem on close John F Widere

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