From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: rsync local dir copy hang - solved for me
Date: Sat, 25 Oct 2003 14:49:00 -0000 [thread overview]
Message-ID: <20031025101746.GB10718@cygbert.vinschen.de> (raw)
In-Reply-To: <407DF7D68DD30440B5CEB70ED234D1CF03F871F6@excuswa100.americas.unity>
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
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.
--
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/
next prev parent reply other threads:[~2003-10-25 10:17 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-24 15:41 Bakken, Luke
2003-10-25 14:49 ` Corinna Vinschen [this message]
2003-10-25 16:08 ` Hannu E K Nevalainen
2003-10-28 15:08 ` Mark Paulus
[not found] <3F98FB3C.3050502@ntlworld.com>
2003-10-24 15:25 ` Hannu E K Nevalainen
-- strict thread matches above, loose matches on Subject: below --
2003-10-24 3:57 Bakken, Luke
2003-10-24 4:18 ` Peter J. Stieber
2003-10-24 4:46 ` Larry Hall
2003-10-24 12:29 ` Hannu E K Nevalainen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20031025101746.GB10718@cygbert.vinschen.de \
--to=corinna-cygwin@cygwin.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).