From: Michael Linfield Date: 2007-10-26T00:22:11+09:00 Subject: Re: Starting Threads K. R. wrote: > Hi @all > I've many different threads to run parallel. Some of these have a > special feature. At the starttime, I decide with a variable, which > threads must sleep for 5 ms. The others can start now. > > How can I realize this problem?? > > thanks... Thread.new # Look up some uses for it based on what your doing. as for the variable... wait = sleep(5) # i assume you meant 5 secs and not 5 milliseconds because i believe that you cant sleep under 1 second if i remember correctly as sleep does not allow sleep(0.05) -- Posted via http://www.ruby-forum.com/.