[chuck-users] Getting the status of running shreds *into* chuck

Atte André Jensen atte at email.dk
Mon Jul 9 12:31:29 EDT 2012

On 2012-07-08 21:11, Kassen wrote:

> int  Machine.running(int shred_id)
>    returns 1 if shred_id is currently running on the VM, 0 otherwise

Obviously I'm not clever enough to make it work.

[test.ck]:line(4): class 'Machine' has no member 'running'

I think the functionality of the function is ok, but obviously I don't 
know how to add this new function to the list of member functions of 
class Machine :-(

Any hints?


http://atte.dk   http://modlys.dk

-------------- next part --------------
A non-text attachment was scrubbed...
Name: initial_running.patch
Type: text/x-patch
Size: 1493 bytes
Desc: not available
URL: <http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20120709/e180b4de/attachment.bin>

More information about the chuck-users mailing list