Real ruby thread


I am new with Jruby, and I want to use it to perform multithread
How can I use it to do real concurrent simultaneous threads
for example (using openuri to download web pages from a queue of url)


Hi Rubix,

It’s my belief that in JRuby, you just do {… whatever…}
you get a real thread. JRuby uses “real” threads, as opposed to Ruby.

In fact, Charles just recently wrote a Wiki entry on this topic: