From: Daniel Berger Date: 2010-01-08T02:13:31+09:00 Subject: Re: RCR: fork(n) {|n| } On Jan 5, 12:15 pm, Roger Pack wrote: > Currently, it's surprising to me to have the semantics of fork differ > from  thread. > > Currently with thread we allow (optionally) for > > Thread.new(n) {|n| > > } > > however fork is always > > fork { > > } > > Which makes it hard-ish-er to swap between the two, and it just > surprises me when I see this fork call that disallows params. > So my RCR is to allow for > fork(n) > > Thoughts/feelings? Not a direct answer, but this project may be of interest: http://rubyforge.org/projects/parallelforkmgr/ Regards, Dan