From: 7stud -- Date: 2012-12-31T06:01:32+09:00 Subject: Re: Thread.start(variables) do question Matthew Kerwin wrote in post #1090641: > > Thought of one (sorry for replying to myself): > > a = 1 > loop do > Thread.new { b=a; p b } > a += 1 > end > > .. where `a += 1` is likely to run before `b=a`; What makes you think that? -- Posted via http://www.ruby-forum.com/.