From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13325 invoked by alias); 28 Oct 2003 14:51:59 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 13317 invoked from network); 28 Oct 2003 14:51:59 -0000 Received: from unknown (HELO pmesmtp01.wcom.com) (199.249.20.1) by sources.redhat.com with SMTP; 28 Oct 2003 14:51:59 -0000 Received: from pmismtp01.wcomnet.com ([166.38.62.36]) by firewall.wcom.com (Iplanet MTA 5.2) with ESMTP id <0HNH005MK2IBXN@firewall.wcom.com> for cygwin@cygwin.com; Tue, 28 Oct 2003 14:49:23 +0000 (GMT) Received: from pmismtp01.wcomnet.com by pmismtp01.wcomnet.com (iPlanet Messaging Server 5.1 HotFix 0.7 (built May 7 2002)) with SMTP id <0HNH00A012I7PT@pmismtp01.wcomnet.com> for cygwin@cygwin.com; Tue, 28 Oct 2003 14:49:23 +0000 (GMT) Received: from WS117V0509.mcilink.com ([166.34.132.96]) by pmismtp01.wcomnet.com (iPlanet Messaging Server 5.1 HotFix 0.7 (built May 7 2002)) with ESMTP id <0HNH00A532I9JN@pmismtp01.wcomnet.com> for cygwin@cygwin.com; Tue, 28 Oct 2003 14:49:22 +0000 (GMT) Date: Tue, 28 Oct 2003 15:08:00 -0000 From: Mark Paulus Subject: Re: rsync local dir copy hang - solved for me In-reply-to: <20031025101746.GB10718@cygbert.vinschen.de> To: "cygwin@cygwin.com" Message-id: <0HNH00A542I9JN@pmismtp01.wcomnet.com> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7bit Priority: Normal X-SW-Source: 2003-10/txt/msg01686.txt.bz2 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@cygwin.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/