Simple threaded web-server based on BaseHTTPServer?
tim.one at home.com
Thu Jan 31 14:44:15 EST 2002
> If Stackless has microthreads that have very little overhead
Right, that's the attraction -- small memory burden, very fast context
switches, and as many microthreads as you want (limited only by available
> (which implies not based on OS threads)
> then that would probably be a good option.
Well, because there aren't "real threads" under the covers, a blocking
operation in one uthread blocks *all* uthreads for the duration.
It should be possible to combine uthreads w/ native threads, but the
semantic model gets ever-harder to master the more gimmicks get tossed into
More information about the Python-list