This project is closed and read-only.
Actions
Backport #6661
closedTimeout not working with IO on Windows
Backport #6661:
Timeout not working with IO on Windows
Status:
Closed
Assignee:
Actions
This project is closed and read-only.
Added by undur_gongor (Undur Gongor) about 14 years ago. Updated about 14 years ago.
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.
r32549 is the right answer.
naruse, could you merge it?
... and, r32557 .
This issue was solved with changeset r36244.
Undur, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
merge revision(s) 32549,32557: [Backport #6661]
from rb_w32_has_cancel_io(). now it takes a parameter as fd to check
the fd is console or not, because we cannot cancel console input even
if we have cancel_io function.
so now we can kill the thread which calls STDIN.gets.
the problem was reported by ko1 vir IRC.