repo.or.cz
/
minnow.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Initial commit
[minnow.git]
/
samples
/
large_proto.mno
blob
cdae034b90fabf6c7ed4f628bc7c5a1b58b739d8
1
actor Sender
2
action setup(Biggy b)
3
var int i = 0
4
while (i < 10000000)
5
i = i + 1
6
end
7
8
b::big(99, 100, 101, 102, 103, 104)
9
end
10
end
11
12
actor Biggy
13
action setup()
14
var int i = 0
15
while (i < 10000000)
16
i = i + 1
17
end
18
end
19
20
action big(int a, int b, int c, int d, int e, int f)
21
puti(a)
22
puti(b)
23
puti(c)
24
puti(d)
25
puti(e)
26
puti(f)
27
28
exit(0)
29
end
30
end
31
32
action main()
33
spawn Biggy b
34
spawn Sender s
35
b::setup()
36
s::setup(b)
37
end