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.

Thread S (1)<br />

• Thread U is the ‘user’ of the condition variable V.<br />

•<br />

If the condition is not true, U unlocks V’s mutex M and sleeps,<br />

waiting for prince charming some other thread S to signal V and<br />

thereby waking U to check the condition again.<br />

64<br />

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

© Mike Brady 2007

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

Saved successfully!

Ooh no, something went wrong!