From: Tanaka Akira Date: 2011-08-02T14:19:26+09:00 Subject: [ruby-core:38692] Re: [Ruby 1.9 - Bug #5138][Open] Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK 2011/8/2 Eric Wong : > That use of select + readpartial is unsafe. Spurious wakeup is a > documented behavior of the select() system call, data can be received > but checksums can be incorrect and data is discarded (after process is > woken up from select()). If you mean about Linux, it is already fixed (or have workaround) 6 years ago. http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/151776 I don't know other example of spurious wakeup. -- Tanaka Akira