[chuck-users] unsporking [bug?]
Martin Ahnelöv
operagasten at gmail.com
Mon Mar 17 16:41:16 EDT 2008
mån 2008-03-17 klockan 20:59 +0100 skrev Stefan Blixt:
> 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?
>
>From reading the code, yeah. Does that for me too, on command line
linux.
Gasten
>
> 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;
>
>
>
More information about the chuck-users
mailing list