On 4 Nov., 07:41, Tom Boothby <tomas.boot...@gmail.com> wrote:
> The @parallel instance kills its still-running children once it drops
> out of scope.  This happens immediately after the return statement is
> executed.  Since I merely call .next() on the generator, the first one
> to finish gets picked out in milliseconds, and the remainders are axed
> almost immediately.

Nice, hadn't tried.  But depends on the garbage collector, doesn't it?


-leif

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to