Threads vs Processes
Gerhard Fiedler
gelists at gmail.com
Thu Jul 27 10:40:12 EDT 2006
On 2006-07-26 19:10:14, Carl J. Van Arsdall wrote:
> Ah, alright. So if that's the case, why would you use python threads
> versus spawning processes? If they both point to the same address space
> and python threads can't run concurrently due to the GIL what are they
> good for?
Nothing runs concurrently on a single core processor (pipelining aside).
Processes don't run any more concurrently than threads. The scheduling is
different, but they still run sequentially.
Gerhard
More information about the Python-list
mailing list