This is the mail archive of the 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

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.


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 Vinschen                  Please, send mails regarding Cygwin to
>Cygwin Developer                      
>Red Hat, Inc.
>Unsubscribe info:
>Problem reports:

Unsubscribe info:
Problem reports:

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