Re: hashtable - thread safety clarification

Tech-Archive recommends: Fix windows errors by optimizing your registry



On Sun, 22 Feb 2009 14:56:24 -0800, Arne Vajhøj <arne@xxxxxxxxxx> wrote:

Peter Duniho wrote:
On Mon, 16 Feb 2009 20:07:59 -0800, Arne Vajhøj <arne@xxxxxxxxxx> wrote:
Not so. [...]
And yet, nothing in the remainder of your post contradicted anything I wrote,

Try and read it again.

"You can only declare a variable referencing the Hashtable as volatile.
And doing so only affects the usage of that variable,"

_YOU_ "try and read it again".

You are reading out of context. Why, I have no idea. But, the point of my post was to address the specific question, not to give a complete enumeration of everything that "volatile" does. In context, my statement was precise, to the point, and correct.
.



Relevant Pages

  • Re: hashtable - thread safety clarification
    ... "You can only declare a variable referencing the Hashtable as volatile. ... But, the point of my post was to address the specific question, not to give a complete enumeration of everything that "volatile" does. ... In context, my statement was precise, to the point, and correct. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: hashtable - thread safety clarification
    ... "You can only declare a variable referencing the Hashtable as volatile. ... the read instruction in the CIL instruction sequence." ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: [PATCH] "volatile considered harmful", take 3
    ... _is_ defined, after all) in the context of GNU C, and if you're saying ... that the kernel is and should _continue_ to ... that's your opinion and I would not disagree with you. ... volatile wherever possible (which includes the case originally ...
    (Linux-Kernel)
  • Re: mutex question
    ... utility of the volatile keyword. ... You disputed somebody else's statements "about the utility of the volatile ... standard cannot be demonstrated if the standard is not cited. ... I do not need any context to talk about the sufficiency of a volatile ...
    (microsoft.public.win32.programmer.kernel)
  • Re: mutex question
    ... utility of the volatile keyword. ... standard cannot be demonstrated if the standard is not cited. ... I do not need any context to talk about the sufficiency of a volatile ...
    (microsoft.public.win32.programmer.kernel)