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.

Statements (2)<br />

• The skip statement is always<br />

executable.<br />

◾ it “does nothing”, only changes<br />

the process counter<br />

• A run statement is only<br />

executable if a new process can<br />

be created (remember: the<br />

number of processes is<br />

bounded).<br />

int x;<br />

proctype Aap()<br />

{<br />

int y=1;<br />

skip;<br />

run Noot();<br />

x=2;<br />

x>2 && y==1;<br />

skip;<br />

}<br />

• A printf statement is always<br />

executable (but not effected<br />

during verification).<br />

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