ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> ruby-talk
ruby-talk
Re: [ANN] threadify-0.0.1
by Ara.T.Howard other posts by this author
Jul 1 2008 2:42PM messages near this date
Re: [ANN] threadify-0.0.1 | 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
Thread:
Ara Howard
Daniel Berger
Ara.T.Howard
Charles Oliver Nutter
Michael Guterl
Charles Oliver Nutter
Michael Guterl
Ara.T.Howard
Charles Oliver Nutter
Charles Oliver Nutter
Ara.T.Howard
Ara.T.Howard
Ara.T.Howard
Charles Oliver Nutter
Martin DeMello
Charles Oliver Nutter
Martin DeMello
Ara.T.Howard
Fedzor

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved