From: Leo Stern Date: 2009-11-15T12:36:57+09:00 Subject: Re: How to make net-ping thread safe? >> dog = PingerController.new => # >> dog.pingHostThreaded Monitoring 173.45.228.218...Monitoring 173.45.235.145...Monitoring 192.168.1.3... Monitoring 127.0.0.1... Monitoring 24.121.214.12... 173.45.235.145 is off173.45.228.218 is off192.168.1.3 is off127.0.0.1 is off 24.121.214.12 is off 173.45.228.218 is off24.121.214.12 is off127.0.0.1 is off192.168.1.3 is off173.45.235.145 is off 24.121.214.12 is off127.0.0.1 is off192.168.1.3 is off173.45.235.145 is off173.45.228.218 is off 127.0.0.1 is off192.168.1.3 is off173.45.235.145 is off173.45.228.218 is off24.121.214.12 is off 173.45.228.218 is off24.121.214.12 is off127.0.0.1 is off192.168.1.3 is off173.45.235.145 is off ^X^CIRB::Abort: abort then interrupt!! from /usr/local/lib/ruby/1.8/irb.rb:81:in `irb_abort' from /usr/local/lib/ruby/1.8/irb.rb:247:in `signal_handle' from /usr/local/lib/ruby/1.8/irb.rb:66:in `start' from /Users/lsternlicht/pinger/app/controllers/pinger_controller.rb:32:in `call' from /Users/lsternlicht/pinger/app/controllers/pinger_controller.rb:32:in `join' from /Users/lsternlicht/pinger/app/controllers/pinger_controller.rb:32:in `pingHostThreaded' from /Users/lsternlicht/pinger/app/controllers/pinger_controller.rb:32:in `each' from /Users/lsternlicht/pinger/app/controllers/pinger_controller.rb:32:in `pingHostThreaded' from (irb):2 >> Net::Ping::ICMP.new('173.45.235.145') => # >> Net::Ping::ICMP.new('173.45.228.218') 24.121.214.12 is off127.0.0.1 is off192.168.1.3 is off173.45.235.145 is off173.45.228.218 is off=> # >> anyone have any ideas about the last object instantiation result? -- Posted via http://www.ruby-forum.com/.