http://bugs.winehq.org/show_bug.cgi?id=9425
--- Comment #27 from Dan Kegel dank@kegel.com 2012-02-07 18:20:15 CST --- select() is utterly broken if the program uses more than 1024 file descriptors of any kind. (It's still safe to use if you pass it no file descriptors, which people do sometimes for a portable sleep() with finer resolution.)