[chuck-users] shreds, namespace, functions, classes, etc

Kassen signal.automatique at gmail.com
Thu Nov 15 13:37:21 EST 2007

Hmmmmm. more weirdness;

2 => int n;

Shred foo[n];

    <<<foo[Std.rand2(0,foo.cap()- 1)].id()>>>;
    second => now;

Run that a few times for various values for n. Something very weird is going
on here, -1266432768 seems like a very odd number as a shred id, especially
when the VM monitor (running these in the mini) reports only a single shred.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20071115/f136c035/attachment.htm 

More information about the chuck-users mailing list