repo.or.cz
/
chuck-blob.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
*** empty log message ***
[chuck-blob.git]
/
examples
/
machine.ck
blob
15219574c9ba7ea745b7c4d65843149e1e03f891
1
// on-the-fly shred management
2
3
while( true )
4
{
5
machine.add( "moe.ck" ) => int moe;
6
500::ms => now;
7
machine.replace( moe, "wind.ck" ) => int wind;
8
500::ms => now;
9
machine.remove( wind );
10
}
11