source:
CIVL/examples/languageFeatures/self.cvl@
4e048c3
| Last change on this file since 4e048c3 was 36b5ada, checked in by , 12 years ago | |
|---|---|
|
|
| File size: 184 bytes | |
| Line | |
|---|---|
| 1 | /* Commandline execution: |
| 2 | * civl verify self.cvl |
| 3 | * */ |
| 4 | #include<civlc.h> |
| 5 | |
| 6 | void waiter($proc target) { |
| 7 | $wait(target); |
| 8 | } |
| 9 | |
| 10 | void main() { |
| 11 | $proc me = $self; |
| 12 | |
| 13 | $spawn waiter(me); |
| 14 | } |
Note:
See TracBrowser
for help on using the repository browser.
