9 Feb
2012
9 Feb
'12
7:44 p.m.
On 09.02.2012 20:34, Matt Joiner wrote:
Linux user here. I'm not sure that IOCP solve the I/O concurrency issue anyway, it's just as convoluted as polling from memory.
On Linux processes are so light-weight that you can fork (os.fork) instead of spawning threads. Threads are typically needed for Java, Solaris and Windows, where forking is either slow or not possible. But if you need really scalable I/O on Linux, consider select/poll or epoll. And on FreeBSD and Mac there is kqueue. Sturla