12.07.2015 Views

EECC756 - Shaaban

EECC756 - Shaaban

EECC756 - Shaaban

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Write Atomicity• Write Atomicity: Position in total order at which a writeappears to perform should be the same for all processes:Time– Nothing a process does after it has seen the new value producedby a write W should be visible to other processes until they toohave seen W.– In effect, extends write serialization to writes from multipleprocesses.P 1 P 2 P 3A=1;while (A==0);B=1;while (B==0);print A;•Problem if P 2 leaves loop, writes B, and P 3 sees new B but oldA (from its cache, i.e cache coherence problem).Old A?PCA page 289<strong>EECC756</strong> - <strong>Shaaban</strong>#17 lec # 10 Spring2013 4-30-2013

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!