[chuck-users] unsporking [bug?]

Stefan Blixt stefan.blixt at gmail.com
Mon Mar 17 15:59:47 EDT 2008


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 at 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 at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
>
>


-- 
Release me, insect, or I will destroy the Cosmos!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20080317/e6191f5c/attachment.htm 


More information about the chuck-users mailing list