Re: Double-Checked Locking pattern issue

Tech-Archive recommends: Speed Up your PC by fixing your registry



George wrote:
Thanks for your correction, Ben!


I agree with you. :-)

I understand generally reorder instructions to fully utilize pipeline is a good idea. But I want to know in my specific case, why swap step 2 and step 3 is faster? Could you provide more description please?

I should mention that the compiler might also do this re-ordering. Are you familiar with the 'as-if' rule?

Tom
.



Relevant Pages

  • Re: A thank you to Larry and a CONTEST
    ... George D wrote: ... > Bob and Dee wrote: ... > Participating in the swap is not an issue this contest is for any one who cares to enter. ...
    (rec.collecting.coins)
  • Re: Telrad not working; fix??
    ... "Dennis Woos" < ... Are you going to have them at the swap tables on Saturday morning? ... I suppose I might as well sell one. ... George N ...
    (sci.astro.amateur)