From: Greg Willits Date: 2007-10-07T15:25:05+09:00 Subject: Re: Multitasking and collecting results Greg Willits wrote: > I've put together this > little outline, but the results always come back in order when I believe > useing sleep should randomize them, so I'm suspicioius that I'm not > really getting async processing out of my code. Oh wait, they're in order because that's the order I have them inserted into @results. Duh. I confirmed async by putting a timer wrapper around the whole thing, and indeed it completes in less time than the sum of each task's pause time. -- gw -- Posted via http://www.ruby-forum.com/.