Piers Cawley <[EMAIL PROTECTED]> writes: > Piers Cawley <[EMAIL PROTECTED]> writes: > >> The catch is, IPSocket.getaddress, which is what we use for DNS >> lookups, appears to be be a blocking call, which with the nature of >> Ruby threads, means it'll *still* hold up processing during the >> lookup. >> >> Thoughts? > > Hmm... resolv.rb may be our friend. And (bonus points!) it's in the > standard library.
And, following further work on using threads, I'd just like to say that threading is weird and is currently doing my head in. Background classification sort of works, but only very approximately. -- Piers Cawley <[EMAIL PROTECTED]> http://www.bofh.org.uk/ _______________________________________________ Typo-list mailing list [email protected] http://rubyforge.org/mailman/listinfo/typo-list
