On Sun, Sep 30, 2001 at 10:45:46AM -0700, Hong Zhang wrote:
>Python uses global lock for multi-threading. It is reasonable for io thread,
>which blocks most of time. It will completely useless for CPU intensive
>programs or large SMP machines.

It might be useless in theory.  In practice it isn't, because most
CPU-intensive tasks are pushed down into C code anyway, and C code can
release the single interpreter lock while it's crunching away.

--amk

Reply via email to