Subj : Re: lockless low-overhead 'pipes' (w/semaphores) To : comp.programming.threads From : Alexander Terekhov Date : Thu Apr 21 2005 12:10 am lindahlb@hotmail.com wrote: > > > Cache is transparent. You can't even tell it's there except for > > performance effects. And you cannot write a multi-threaded > > program whose correctness depends on the presence or not of cache > > (except for Alpha which is no longer signficant). It's as > > relevant to the issue of correctness as the color of your computer > > case. And if you or anybody starts talking about the color of > > your computer case, the rest of us aren't going to take you or > > them too seriously. > > Right thats what I had understood, until David Schwartz used stale > data in the cache as an example that would break my code - for > which I interpretted incorrectly. Moving on... That Alpha's "stale data in the cache" thing has the same effect as value prediction. It doesn't really need to be "stale" (it can be quite the opposite so to say) to break your assumptions. [...] More later. Movie starts... ;-) regards, alexander. .