Hi, Charles Oliver Nutter wrote: > My understanding of Ruby IO is that the example given ought to be > possible with or without native threads, yes? I had assumed that since > Ruby IO uses select() it should allow thread scheduling to continue. > Perhaps that's not used everywhere, or perhaps you have to explicitly > say you want to use it? > > What is the fix for Ruby 1.9? Did you modify blocking IO to release the > global lock? Yes. We must release global VM lock (GVL). In this case, I fixed this issue with releasing GVL while open (2). I want to review Ruby's IO with native thread. -- // SASADA Koichi at atdot dot net