socket/pure_ruby: swap IO#wait for IO#select
commit9c0a7c670494fb55fb8ef98838fa0f53aab38d0d
authorEric Wong <normalperson@yhbt.net>
Thu, 10 Nov 2011 01:24:10 +0000 (10 01:24 +0000)
committerEric Wong <normalperson@yhbt.net>
Thu, 10 Nov 2011 01:25:09 +0000 (10 01:25 +0000)
tree4812ef4168e26c701c0011730c0bfd011bc1e7c8
parent38a38766deef994577cfb89e7a1b5a30e8bcd7eb
socket/pure_ruby: swap IO#wait for IO#select

The return value of IO#wait is strange and confusing,
relying on FIONREAD is a waste of time anyways.
lib/mogilefs/socket/pure_ruby.rb