From: Brian Candler Date: 2010-01-06T04:32:52+09:00 Subject: Re: RCR: fork(n) {|n| } Roger Pack wrote: > Thoughts/feelings? I don't think it gains you anything: in a fork the child process has a completely separate address space, so all variables are independent from the parent. However in threads you may wish explicitly to copy a value, because it can change in the other thread. Especially; while socket = server.accept Thread.new(socket) do |sk| .. do stuff with sk, because socket may change end end -- Posted via http://www.ruby-forum.com/.