> If you want to make full use of multiple processors using pure python
> code you'll have to use multiple processes.
This is absolutely true, but in practice it is a little more
complicated. If you can factor your algorithm so that each process
can be run completely separately, with no interproc
On Nov 2, 2006, at 5:25 PM, David Worrall wrote:
Hi All,
Can anyone tell me whether or not the python threading module can
make use of multiple processors
(such as on the intel Mac)?
It can, but not always optimally. Python has a global interpreter
lock (GIL) that is held whenever a thread
On 11/2/06, David Worrall <[EMAIL PROTECTED]> wrote:
> Hi All,
> Can anyone tell me whether or not the python threading module can
> make use of multiple processors
> (such as on the intel Mac)?
>
Yes, it can, but the global interpreter lock means only one thread at
a time can be executing pure Py
Hi All,
Can anyone tell me whether or not the python threading module can
make use of multiple processors
(such as on the intel Mac)?
many thanks,
David
___
experimental polymedia: www.avatar.com.au
Sonic Communications Research Group,
University of Canberra: