Hi,

At Wed, 21 Aug 2002 11:51:31 +0900,
Park Heesob wrote:
> threads.each { |t|
>    TerminateProcess.Call(OpenProcess.Call(1,0,t['pid']),0) if t.alive?
> }

This wouldn't work in 1.7 under Windows 9x, since pid is
negated.  Use Process.kill instead, it does same thing and
error checks, and is even portable.

  Process.kill(:INT, *threads.collect {|t| t['pid']})

-- 
Nobu Nakada