Issue #6661 has been updated by usa (Usaku NAKAMURA).


There is no problem on trunk, but I forgot which change fixed it...
Maybe r34388?

I'll test it later.
If there are those who can check ahead of me, please do it. 

----------------------------------------
Bug #6661: Timeout not working with IO on Windows
https://bugs.ruby-lang.org/issues/6661#change-27535

Author: undur_gongor (Undur Gongor)
Status: Assigned
Priority: Normal
Assignee: usa (Usaku NAKAMURA)
Category: 
Target version: 
ruby -v: Ruby 1.9.3p194 (2012-04-20) [i386-mingw32]


This code does not time out as expected when run on Ruby 1.9.3p194 (2012-04-20) [i386-mingw32]:

    require 'timeout'
    Timeout.timeout(1) { gets }

On different Unix-like OSes it does time out after 1 second with different versions of Ruby.


-- 
http://bugs.ruby-lang.org/