This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: tcflush hang problem
- From: "H. Henning Schmidt" <Henning dot Schmidt at lynx-technik dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 03 Nov 2003 10:57:26 +0100
- Subject: RE: tcflush hang problem
I am pretty certain the the problem which is discussed in this thread
has already been reported in
http://sources.redhat.com/ml/cygwin/2003-03/msg01529.html
There is obviously an input buffer, which overflows if you keep an open
filedesc. on a serial port and let some external system generate input
data on that port while your own app does not read them away from there
fast enough. The message referenced above (from March 2003) also
contains a reliable way to reproduce this problem. My guess is, that the
tcflush() itself is probably not guilty in any way, it just helps
reproducing the problem.
;Henning
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/