From: "Hal E. Fulton" Date: 2001-01-23T14:46:08+09:00 Subject: [ruby-talk:9750] Threads and I/O Is there any way for the main thread to kill a thread that is doing, e.g., a gets? Crude example below. Thanks, Hal str = nil thr = Thread.new { str = gets } sleep 5 # Tired of waiting! thr.kill # str is nil now?