From: Robert Klemme Date: 2004-11-26T22:58:00+09:00 Subject: Re: [ANN] Multiplexer - linear non-blocking I/O "Mikael Brockman" schrieb im Newsbeitrag news:87vfbszr5m.fsf@igloo.phubuh.org... > Blocking I/O is really easy to use. But when you use it to write > servers, you run into problems: you can't run two blocking syscalls > simultaneously. So if you're writing a huge file to some guy, every > other client is stalled, and no one new can connect. Unacceptable, for > many types of servers. They need non-blocking I/O. > > Non-blocking I/O is a lot more annoying to use. Instead of going > It'll run in one thread. Multiplexer handles the select(3) calls. What is the advantage over a solution with threads? IOW, why should I use multiplexer over individual threads per connection? Kind regards robert