27.10.2013 Views

Recent enhancements in - Gams

Recent enhancements in - Gams

Recent enhancements in - Gams

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

28<br />

Asynchronous Execution<br />

• Control job spawned:<br />

– Collect job handle:<br />

• CT: $eval jh JobHandle<br />

• ET: jh = JobHandle;<br />

– Check job status (error, still runn<strong>in</strong>g, f<strong>in</strong>ished):<br />

• CT: $eval status JobStatus(%jh%)<br />

• ET: status = JobStatus(jh);<br />

– Interrupt/Kill a job:<br />

• CT: $eval rc JobTerm<strong>in</strong>ate(%jh%)<br />

• CT: $eval rc JobKill(%jh%)<br />

• ET: rc = JobKill(jh);<br />

• ET: rc = JobTerm<strong>in</strong>ate(jh);

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

Saved successfully!

Ooh no, something went wrong!