source:
CIVL/mods/dev.civl.com/examples/library/civlc/exitBad.cvl@
cb4d4f4
| Last change on this file since cb4d4f4 was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 191 bytes | |
| Line | |
|---|---|
| 1 | #include <civlc.cvh> |
| 2 | |
| 3 | void Process(){ |
| 4 | $exit(); |
| 5 | } |
| 6 | |
| 7 | void main(){ |
| 8 | $proc procs[3]; |
| 9 | |
| 10 | for(int i=0; i<3; i++) |
| 11 | procs[i] = $spawn Process(); |
| 12 | |
| 13 | for(int i=0; i<3; i++) |
| 14 | $wait(procs[i]); |
| 15 | } |
Note:
See TracBrowser
for help on using the repository browser.
