This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: rsync local dir copy hang - solved for me


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]