delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/28/09:53:03

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: Tue, 28 Oct 2003 07:49:21 -0700
From: Mark Paulus <mark DOT paulus AT mci DOT com>
Subject: Re: rsync local dir copy hang - solved for me
In-reply-to: <20031025101746.GB10718@cygbert.vinschen.de>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Message-id: <0HNH00A542I9JN@pmismtp01.wcomnet.com>
MIME-version: 1.0
Priority: Normal

Would it be possible to get the testcase?  I
have an idea for a fix, and would like to try it
out on the testcases that I can see.

Thanks.

On Sat, 25 Oct 2003 12:17:46 +0200, Corinna Vinschen wrote:

>On Fri, Oct 24, 2003 at 07:41:54AM -0700, Bakken, Luke wrote:
>> It never got past cygwin_select().
>> [...]
>> > The bottom point: *don't do that* ;-)
>> >  i.e. leave the msleep() call there.
>> 
>> If I leave msleep there, it hangs every time. So I'm taking it out. Now,
>
>But Hannu is right.  Why not replace msleep(2) by usleep(20000)?  AFAICS,
>it should fix the hang as well.  Would you mind to try it?
>
>>  I'm now going to see if
>> I can isolate the heart of the problem with a simple program that forks
>> and sleeps in the same fashion as with rsync.
>
>No worries, I have a working testcase which shows the hang.  But thanks
>for the offer.
>
>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
>Problem reports:       http://cygwin.com/problems.html
>Documentation:         http://cygwin.com/docs.html
>FAQ:                   http://cygwin.com/faq/
>




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