Simple threaded web-server based on BaseHTTPServer?

Paul Rubin phr-n2002a at nightsong.com
Thu Jan 31 23:58:08 CET 2002


"Tim Peters" <tim.one at home.com> writes:
> 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
> the mix.

I think the best approach (if feasible) is designing the i/o library
to always avoid blocking operations.



More information about the Python-list mailing list