This would be *very* expensive to do. More likely, you would want to
have a pool of threads already spun which would select on several
descriptors. That way you could take advantage of multiproccessor
systems and the benefits of threads without the overhead of spawning a
new thread for every connection which could get huge on a big server.
--
_
Tom Duffy __ (_)
____ _/,-' __
/ .__) / _ \ |_ |
\__. \( (_) ) | |
(____/ \ __/ | |_
//--, `--'
( <> ) Core Linux
`--'
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/