[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] use WIN32_RETRY_LOOP also for cygwin

From: D.J. Heap <djheap_at_gmail.com>
Date: 2006-05-04 19:15:34 CEST

On 5/4/06, Max Bowsher <maxb1@ukf.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Mathias Weinert wrote:
> > Hi there
> >
> > In libsvn_subr/io.c there is macro called WIN32_RETRY_LOOP used to do
> > several retries of some file commands like rename. As the problem which
> > this macro shall solve - or at least soothe - also exists under cygwin
>
> It does?
>
> I realize this isn't something that is very easily reproducible, but
> could you give some suggestions how I might do that?
>
> Because I've been using Subversion on Cygwin for years, and have never
> experienced any errors which would encourage me to switch on
> WIN32_RETRY_LOOP - have I just been absurdly lucky?

How could it not? At the end of the day cygwin is still calling the
same API's that the native version uses, isn't it?

To easily recreate it, try installing an aggressive on-access virus
scanner (which are required in lots of Windows shops, unfortunately).
The problem is also much worse in a multiprocessor machine (because
tag-alongs can run faster or more concurrently, I suppose).

DJ

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 4 19:16:22 2006

This is an archived mail posted to the Subversion Dev mailing list.