Was that supposed to print "yeah", short pause, "2", two seconds, then finish? Because that's what it did here (chuck command line in an OS X terminal). Maybe a Win32-only bug?

/Stefan

On Mon, Mar 17, 2008 at 7:39 PM, Kassen <signal.automatique@gmail.com> wrote:

@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;


_______________________________________________
chuck-users mailing list
chuck-users@lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users




--
Release me, insect, or I will destroy the Cosmos!