1.23
2.0
main
test-branch
|
Last change
on this file since 9f1ed5b was 74ec2ad, checked in by Tim Zirkel <zirkeltk@…>, 13 years ago |
|
Fixed handling of $self in model builder and evaluator. Fixed bug when waiting on a process with a lower PID.
git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@95 fb995dde-84ed-4084-dfe6-e5aef3e2452c
|
-
Property mode
set to
100644
|
|
File size:
127 bytes
|
| Line | |
|---|
| 1 | #include<civlc.h>
|
|---|
| 2 |
|
|---|
| 3 | void waiter($proc target) {
|
|---|
| 4 | $wait(target);
|
|---|
| 5 | }
|
|---|
| 6 |
|
|---|
| 7 | void main() {
|
|---|
| 8 | $proc me = $self;
|
|---|
| 9 |
|
|---|
| 10 | $spawn waiter(me);
|
|---|
| 11 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.