Issue #6661 has been updated by luislavena (Luis Lavena).

Status changed from Open to Assigned
Assignee set to usa (Usaku NAKAMURA)


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

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/