delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/03/27/03:31:23

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Thu, 27 Mar 2003 09:24:33 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Problems with non-blocking I/O
Message-ID: <20030327082433.GA23762@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <200303261132 DOT 20664 DOT tim AT proximity DOT com DOT au>
Mime-Version: 1.0
In-Reply-To: <200303261132.20664.tim@proximity.com.au>
User-Agent: Mutt/1.4i

On Wed, Mar 26, 2003 at 11:32:20AM +1100, Tim Allen wrote:
> time when selected for write. If you pause (eg ctrl-S) the client, you can 
> see it even more clearly. The server should (and on linux does) itself pause 
> in that situation, waiting to be able to write to the socket. On cygwin it 
> instead keeps going, constantly raising select conditions and constantly 
> finding that it would block on the write, doing a busy-wait. A 

Hmm, I can't observe this behaviour on my Cygwin box.  I'm running 1.3.22
(as you do in the meantime I hope).  When pressing Ctrl-S in the clients
window, the server is waiting until pressing Ctrl-Q in the clients window
again.  As on Linux.  And the copied files (well, I only testes 5Megs in
size) were copied correctly.  So far I don't see a problem.

> I'll endeavour to provide more details and examples; I thought this much was 
> worth contributing so far, as it does demonstrate one of the problems quite 
> clearly. May I suggest it'd be worth adding a test based on this to the 
> regression test suite? Or, forgive my ignorance, making a regression test 

This is an open source project.  You're welcome to contribute test cases
for our testsuite.  See http://cygwin.com/contrib.html.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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