Subj : Re: [.NET] Volatile Fields [correction] To : comp.programming.threads From : Joe Seigh Date : Mon Sep 19 2005 11:17 pm David Hopwood wrote: > Joe Seigh wrote: >> >>AFAICT, Alexander seems to think the x86 memory model is just PC and >>*all* of the other stuff in the x86 docs doesn't count. > > > *Most* of the other stuff in the x86 docs is about non-WB memory types, > or about what is visible on the system bus, as opposed to what is visible > to processors. > "In a single-processor system for memory regions defined as write-back cacheable, the following ordering rules apply:" > >>Seems a bit arbitrary and selective to me. > Alexander has company here. > > >>If you want to do global memory barriers just using PC and nothing else, >>you can. Just use a common memory location to "sync" everything with. > > > If you don't care about lousy performance due to cache line pinging. > Lousy performance compared to what? -- Joe Seigh When you get lemons, you make lemonade. When you get hardware, you make software. .