How do I run two threads in Ruby at the same time?

Posted by Arcath on Stack Overflow See other posts from Stack Overflow or by Arcath
Published on 2010-03-11T19:47:52Z Indexed on 2010/03/11 20:24 UTC
Read the original article Hit count: 207

Filed under:
|
|

Is there some way to run 2 threads at the same time?

I want to have my app run its current function and then bring up another thread running another function, that can change variables in the first thread.

© Stack Overflow or respective owner

Related posts about ruby

Related posts about thread