"Hans Hübner" hans@huebner.org writes:
css, can you detail what you exactly want to achive? Why do you want to avoid threads?
Just as a general piece of information, having an event-based style of programming (such as using Unix select) and avoiding or limiting the use of threads is a technique sometimes used for high load servers.
Dan Kegel's C10K is a good place to start if you're interested. http://www.kegel.com/c10k.html
Cheers, Chris Dean