From: "ara.t.howard" Date: 2008-07-02T06:35:05+09:00 Subject: Re: [ANN] threadify-0.0.1 On Jul 1, 2008, at 3:04 PM, Charles Oliver Nutter wrote: > Appears to work just dandy under JRuby: > > ➔ time jruby --server -rthreadify -e "nums = *(1..35); def fib(n); > if n < 2; return n; else; return fib(n - 1) + fib(n - 2); end; end; > nums.each {|i| p fib(i)}" wow that's cool - now that's a a seriously easy way to parallelize ;-) > I also found some weird bug where Thread#kill/exit from within the > thread interacts weirdly with join happening outside, and never > terminates. Fixing that now. glad to have helped ;-) i just pushed out 0.0.2 and it just lets the thread die rather that self-destructing. see how that works... cheers. a @ http://codeforpeople.com/ -- we can deny everything, except that we have the possibility of being better. simply reflect on that. h.h. the 14th dalai lama