> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 27, 2003 1:48 AM
> To: Tillman, James
> Cc: '[EMAIL PROTECTED]'
> Subject: Re: Cygwin Rsync 2.5.6 over SSH hangs on Win2k->Win2k
>
>
[...]
> While I haven't found the root cause (and I don't know any cygwin
> internals), the following workaround solves the problem for me.
> Replace msleep() wit sleep():
>
> while ( 1 ) {
> sleep(1);
> }
>
> There's something about signals and msleep() that cygwin
> doesn't grok...
>
> Craig
>
The sleep(1) mod didn't work for me. I had a hung process within an hour
(processes run every 5 minutes). I'm going to try applying Anthony
Heading's patch, which was posted earlier this morning (Subject: PATCH/RFC:
Another stab at the Cygwin hang problem) to see if it works for me. I've
got nothing to lose at this point!
I had been questioning the wisdom of the whole kill/signal usage, myself,
but I'm certainly not experienced enough at this point to have a worthy
opinion in such matters... There's almost certainly a reason it was done
that way.
jpt
--
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html