delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/05/10/12:23:18

X-Spam-Check-By: sourceware.org
Date: Wed, 10 May 2006 12:22:59 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: tcdrain
Message-ID: <20060510162259.GE13351@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20060510130441 DOT GC8871 AT kestrel DOT barix DOT local>
Mime-Version: 1.0
In-Reply-To: <20060510130441.GC8871@kestrel.barix.local>
User-Agent: Mutt/1.5.11
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Wed, May 10, 2006 at 03:04:41PM +0200, Karel Kulhavy wrote:
>It looks like tcdrain in cygwin doesn't wait until data are transmitted,
>but just drains the software buffer, and doesn't drain the buffer in the
>16550A chip. Can you please confirm that this is really how Cygwin
>works?

The source code for the tcdrain call is in fhandler_serial.cc.  You should
be able to satisfy your curiousity by looking at that.

cgf

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019