17.11.2014 Views

Chapter 6: Process Synchronization - Csl Mtu

Chapter 6: Process Synchronization - Csl Mtu

Chapter 6: Process Synchronization - Csl Mtu

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.

Why is <strong>Synchronization</strong> Needed? 3/4<br />

<strong>Process</strong> 1 <strong>Process</strong> 2<br />

Inst Reg Memory Inst Reg Memory<br />

LOAD<br />

10<br />

10<br />

LOAD<br />

10<br />

10<br />

SUB<br />

9<br />

10<br />

ADD<br />

11<br />

10<br />

STORE<br />

11<br />

11<br />

erases the previous value 11<br />

STORE<br />

9<br />

9<br />

5

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

Saved successfully!

Ooh no, something went wrong!