Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "Hannu E K Nevalainen" To: Subject: RE: rsync local dir copy hang - solved for me Date: Sat, 25 Oct 2003 16:49:20 +0200 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 > 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/