2011/8/2 Eric Wong <normalperson / yhbt.net>: > 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