[chuck-users] unsporking [bug?]

Kassen signal.automatique at gmail.com
Mon Mar 17 14:39:10 EDT 2008


> @kas, i thought i tried that, but i might have gotten confused at the
> "spork ~ my_fun() @=> my_shred;" line
>
> the online documentation says "spork ~ my_fun() => Shred @ my_shred;"
> without declaring my_shred first, and this gives syntax errors.



I think we may have a bug; the following compiles and the id is right but
the shred doesn't die when it should. Quite weird.

Kas.
----------------------------------
fun void foo()
    {
    .5::second => now;
    <<<"yeah">>>;
    minute => now;
    }


spork ~foo() @=> Shred bar;


second => now;
<<<bar.id()>>>;
second => now;
bar.exit();

2::second => now;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20080317/a39283bd/attachment.htm 


More information about the chuck-users mailing list