Atte,
A handy list of Shred functions (From our new Book, Appendix A :-):
The ones you want are running() or done()
Shred.fromId(int id) Returns shred object corresponding to id.
int id(); Returns the ID number of the shred.
void yield(); Causes the shred to temporarily discontinue
Hi
I spork a file like this:
Machine.add(filename) = int id;
Is there a way to later on figure out if the shred is still running?
--
Atte
http://atte.dk http://a773.dk
___
chuck-users mailing list
chuck-users@lists.cs.princeton.edu