From: Charles Oliver Nutter Date: 2008-01-16T20:12:32+09:00 Subject: Re: native threads in ruby Rick Penn wrote: > Is there anyway possible, one can make use of native threads in Ruby? > Maybe by interfacing with C or Java? JRuby supports native threads today, where each Ruby thread maps to one native thread. There's also a second option, native thread pooling, where the number of native threads used is only ever as high as the number of threads running concurrently. Normal native thread support is the default. Pooling can be enabled with a command-line option: -J-Djruby.thread.pooling=true - Charlie