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.

Producers and Consumers<br />

• Essentially a pipeline of separate sequential programs.<br />

◾E.g. concatenation of unix commands.<br />

• Programs communicate via buffers.<br />

◾Implemented in different ways, but, e.g.<br />

• Shared memory, flags, semaphores, etc.<br />

• Message passing over a network<br />

•<br />

Flow of data is essentially one-way.<br />

• Example…<br />

57<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!