30.10.2014 Views

Operating Systems - David Vernon

Operating Systems - David Vernon

Operating Systems - David Vernon

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.

Processes<br />

InterProcess Communication IPC<br />

– Message passing solution to Producer-<br />

Consumer problem<br />

» Consumer starts by sending N empty messages to<br />

the producer<br />

» When a producer has a item to give to the<br />

consumer, it takes an empty message and send<br />

back a full one<br />

» When a consumer receives a full message, it<br />

processes it and sends back an empty<br />

Copyright © 2007 <strong>David</strong> <strong>Vernon</strong> (www.vernon.eu)

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

Saved successfully!

Ooh no, something went wrong!