* Kazu Yamamoto <k...@iij.ad.jp> [2012-09-21 10:29:22+0900] > Hello, > > > Non-threaded RTS would block FFI to C code. But it does not block file > > descriptors and sockets because the scheduler uses select(). To my > > experience, *simple* network programming with non-threaded RTS also > > works well except the case where we reach the limit of file > > descriptors for the process. > > I need to correct the last sentence. It should be "we reach the limit > of select(), 1,024 file descriptors".
Most of the modern systems provide a better alternative to select (epoll, kqueue etc.) which is used by the IO manager instead. They don't have such a low limit. Roman _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe