From: Joseph McDonald Date: 2001-02-07T16:22:16+09:00 Subject: [ruby-talk:10498] Re: threads and resolving names > > Sorry, resolving by gethostbyname(3) etc block whole process. It's a > > pity of user level thread. > > I wrote simple stub resolver in Ruby. It lacks many features. It > works, for me. > > If you interest, see: > http://cvs.m17n.org/cgi-bin/viewcvs/chenpi/resolv.rb?cvsroot=ruby > http://cvs.m17n.org/cgi-bin/viewcvs/chenpi/resolv-replace.rb?cvsroot=ruby > -- > Tanaka Akira FYI, this is working great for me! The neat thing was that I didn't have to change a line of code... just added: require 'resolv_replace' and everything worked, but with no blocking! thanks, -joe