RE: Re: High CPU usage caused by TSVNCache.exe at startup
From: Mark Irving <Mark.Irving_at_informatix.co.uk>
Date: Thu, 2 Jul 2009 14:48:53 -0700 (PDT)
VS2005User (at) googlemail (dot) com wrote:
Stefan:
I think I can see a problem in the source. Specifically, a test of the form
GetTickCount() - DRIVETYPETIMEOUT > drivetypeticker
is wrong for DRIVETYPETIMEOUT milliseconds after system start-up, and again every 49.7 days or so. But re-ordering as
GetTickCount() - drivetypeticker> DRIVETYPETIMEOUT
works better, provided the measured interval never exceeds 49.7 days.
[I've tried sending this message twice, with a suggested patch which I haven't included this time, and it hasn't got to the list after ten hours. Please accept my apologies if all three attempts arrive.]
- Mark.
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
|
This is an archived mail posted to the TortoiseSVN Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.