Pythonic concurrency (was: Erlang (was Re: Good introduction to functional programming with Python?))
Just van Rossum
just at letterror.com
Sun Dec 31 14:54:06 EST 2000
Cameron Laird wrote:
>
> In article <G6AyoC.CK1 at world.std.com>, Will Ware <wware at world.std.com> wrote:
> >Brad Knotwell (knotwell at ix.netcom.com) wrote:
> >> I'm now wondering if Stackless Python's uthreads are cooperatively or
> >> pre-emptively multi-tasked.
> >
> >Unless you're digging into their inner workings, microthreads will appear
> >to you as preemptively multitasking.
> .
> .
> .
> Is this true: microthreads block on system calls (I/O
> operations, most notoriously) and on invocations of
> externally-coded extensions?
They do.
Just
More information about the Python-list
mailing list