rsync local dir copy hang - solved for me

Hannu E K Nevalainen garbage_collector@telia.com
Sat Oct 25 16:08:00 GMT 2003


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



More information about the Cygwin mailing list