Issue #3728 has been updated by Eito Katagiri.

File issue3728.patch added

I created a patch to fill some documentation for IO.select (and Kernel.se=
lect eventually). The code example is borrowed from the Rurima project.

HTH
----------------------------------------
http://redmine.ruby-lang.org/issues/show/3728

----------------------------------------
http://redmine.ruby-lang.org
ZGlmZiAtLWdpdCBhL2lvLmMgYi9pby5jCmluZGV4IDE2OTE1OGIuLjZhMjcy
YzAgMTAwNjQ0Ci0tLSBhL2lvLmMKKysrIGIvaW8uYwpAQCAtNzM0Myw5ICs3
MzQzLDM4IEBAIHNlbGVjdF9lbmQoVkFMVUUgYXJnKQogICogICAgICAgICAg
ICAgICBbLCBlcnJvcl9hcnJheQogICogICAgICAgICAgICAgICBbLCB0aW1l
b3V0XV1dICktPiBhcnJheSAgb3IgIG5pbAogICoKLSAqICBTZWUgPGNvZGU+
S2VybmVsI3NlbGVjdDwvY29kZT4uCisgKiAgQ2FsbHMgc2VsZWN0KDIpIHN5
c3RlbSBjYWxsLgorICogIEl0IHJldHVybnMgYW4gYXJyYXkgdGhhdCBjb250
YWlucyBhcnJheXMgb2YgSU8gb2JqZWN0cyB0aGF0IGFyZSByZWFkeQorICog
IGZvciAqICByZWFkaW5nLCBhcmUgcmVhZHkgZm9yIHdyaXRpbmcsIGFuZCBo
YXZlIHBlbmRpbmcgZXhjZXB0aW9ucworICogIHJlc3BlY3RhYmx5LiBJdCBy
ZXR1cm5zIG5pbCBvbiB0aW1lb3V0LgorICoKKyAqICAgICAgcnAsIHdwID0g
SU8ucGlwZQorICogICAgICBtZXNnID0gInBpbmcgIgorICogICAgICAxMDAu
dGltZXMgeworICogICAgICAgIHJzLCB3cywgPSBJTy5zZWxlY3QoW3JwXSwg
W3dwXSkKKyAqICAgICAgICBpZiByID0gcnNbMF0KKyAqICAgICAgICAgIHJl
dCA9IHIucmVhZCg1KQorICogICAgICAgICAgcHJpbnQgcmV0CisgKiAgICAg
ICAgICBjYXNlIHJldAorICogICAgICAgICAgd2hlbiAvcGluZy8KKyAqICAg
ICAgICAgICAgbWVzZyA9ICJwb25nXG4iCisgKiAgICAgICAgICB3aGVuIC9w
b25nLworICogICAgICAgICAgICBtZXNnID0gInBpbmcgIgorICogICAgICAg
ICAgZW5kCisgKiAgICAgICAgZW5kCisgKiAgICAgICAgaWYgdyA9IHdzWzBd
CisgKiAgICAgICAgICB3LndyaXRlKG1lc2cpCisgKiAgICAgICAgZW5kCisg
KiAgICAgIH0KKyAqCisgKiAgPGVtPnByb2R1Y2VzOjwvZW0+CisgKgorICog
ICAgICBwaW5nIHBvbmcKKyAqICAgICAgcGluZyBwb25nCisgKiAgICAgIHBp
bmcgcG9uZworICogICAgICAoc25pcHBlZCkKKyAqICAgICAgcGluZwogICov
Ci0KIHN0YXRpYyBWQUxVRQogcmJfZl9zZWxlY3QoaW50IGFyZ2MsIFZBTFVF
ICphcmd2LCBWQUxVRSBvYmopCiB7Cg==