all
 
@kassen:
 i can reproduce it with the mini on win.
 
@kevin & stefan:
are both shreds finishing at the same moment, or does the sporked child shred finishes 2 seconds before the parent one does?
when i try it on my environment, both shreds finish at the same moment, but they shouldn't.
 
jassas
/moudi


Von: chuck-users-bounces@lists.cs.princeton.edu [mailto:chuck-users-bounces@lists.cs.princeton.edu] Im Auftrag von kevin
Gesendet: Montag, 17. März 2008 21:46
An: ChucK Users Mailing List
Betreff: Re: [chuck-users] unsporking [bug?]

It did that in miniAudicle on OS X for me as well.

The syntax errors that were appearing before don't appear in this code either.

-k

On Mon, Mar 17, 2008 at 12:59 PM, Stefan Blixt <stefan.blixt@gmail.com> wrote:
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!

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