source:
CIVL/examples/languageFeatures/self.cvl@
a8ca3d3
| Last change on this file since a8ca3d3 was 36b5ada, checked in by , 12 years ago | |
|---|---|
|
|
| File size: 184 bytes | |
| Rev | Line | |
|---|---|---|
| [36b5ada] | 1 | /* Commandline execution: |
| 2 | * civl verify self.cvl | |
| 3 | * */ | |
| [74ec2ad] | 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.
