01.06.2014 Views

Concurrent Systems II - Bad Request - Trinity College Dublin

Concurrent Systems II - Bad Request - Trinity College Dublin

Concurrent Systems II - Bad Request - Trinity College Dublin

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Communication<br />

• A parallel program consists of two or more separate threads of<br />

execution, that run independently except when they have to<br />

interact<br />

• To interact, they must communicate<br />

•<br />

Communication is typically implemented by<br />

◾ sharing memory<br />

• One thread writes data to memory; the other reads it<br />

◾passing messages<br />

• One thread sends a message; the other gets it<br />

27<br />

<strong>Trinity</strong> <strong>College</strong> <strong>Dublin</strong><br />

© Mike Brady 2007–2009

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

Saved successfully!

Ooh no, something went wrong!