multithreading concept

Bryan Olson fakeaddress at nowhere.org
Thu Mar 8 10:48:02 CET 2007


sturlamolden wrote:
[...]
> If you want to utilize the computing power of multiple CPUs, you
> should use multiple processes instead of threads. On Python this is
> mandatory due to the GIL. In any other language it it highly
> recommended. The de-factor standard for parallel multiprocessing (MPI)
> uses multiple processes, even on SMPs.

That doesn't really work in Python. There have been projects to
allow Pythonic coordination of processes -- POSH had some good
ideas -- but none have reached fruition.

There's nothing like a close thing to a good defacto standard in
the area. Microsoft's Win32 threads can claim to get as close as
anything.


-- 
--Bryan





More information about the Python-list mailing list