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

Re: High CPU usage caused by TSVNCache.exe at startup

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Fri, 03 Jul 2009 09:34:17 +0200

Mark Irving wrote:
> VS2005User (at) googlemail (dot) com wrote:
>> Could you please take a look at revision 16481 (trunk), r16482 (1.6
>> branch)?
>
> Stefan:
>> Can you try the next nightly build please? (16657)
>
> 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.

You're right, I think that's the problem.
Should be fixed in r16658.

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2367729
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].

Received on 2009-07-03 09:34:36 CEST

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.