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

Re: [TSVN] Re: Tortoise/Cache hanging Explorer?

From: Simon Large <slarge_at_slarge.plus.com>
Date: 2005-03-07 18:06:55 CET

SteveKing wrote:
> Will: the docs for ::InterlockedExchange tell that the variable has to
> be on a 32-bit boundary or it will fail on SMP machines. Since /Zp
> isn't set and there's no pack pragma, do you know what's the default?
> If the default is 1, then a simple pragma could solve the problem...

From
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccelng/htm/pragm_22.asp
When you use #pragma pack(n), where n is 1, 2, 4, 8, or 16, each
structure member after the first is stored on the smaller member type or
n-byte boundaries. If you use #pragma pack without an argument,
structure members are packed to the value specified by /Zp. The default
/Zp packing size is /Zp8.

BTW in r2789 you specified 16 byte alignment which seems a bit big.

Simon

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Mar 7 18:06:24 2005

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