From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12748 invoked by alias); 25 Oct 2003 14:49:37 -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 12733 invoked from network); 25 Oct 2003 14:49:36 -0000 Received: from unknown (HELO smtp1.fre.skanova.net) (195.67.227.94) by sources.redhat.com with SMTP; 25 Oct 2003 14:49:36 -0000 Received: from P450 (t3o62p34.telia.com [195.198.199.34]) by smtp1.fre.skanova.net (8.12.10/8.12.10) with SMTP id h9PEnXO4011481 for ; Sat, 25 Oct 2003 16:49:35 +0200 (CEST) From: "Hannu E K Nevalainen" To: Subject: RE: rsync local dir copy hang - solved for me Date: Sat, 25 Oct 2003 16:08:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-reply-to: <20031025101746.GB10718@cygbert.vinschen.de> Importance: Normal X-SW-Source: 2003-10/txt/msg01634.txt.bz2 > From: Corinna Vinschen > Sent: Saturday, October 25, 2003 12:18 PM > > On Fri, Oct 24, 2003 at 07:41:54AM -0700, Bakken, Luke wrote: > > It never got past cygwin_select(). > > [...] Hannu: > > > 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. > > 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? IMO that's a good "temporary thing", yes. :-) /Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E -- printf("Timezone: %s\n", (DST)?"UTC+02":"UTC+01"); -- --END OF MESSAGE-- -- 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/