Status of Python threading support (GIL removal)?
jnoller at gmail.com
Fri Jun 19 17:59:26 EDT 2009
On Fri, Jun 19, 2009 at 12:50 PM, OdarR<Olivier.Darge at gmail.com> wrote:
> On 19 juin, 16:16, Martin von Loewis <martin.vonloe... at hpi.uni-:
>> If you know that your (C) code is thread safe on its own, you can
>> release the GIL around long-running algorithms, thus using as many
>> CPUs as you have available, in a single process.
> what do you mean ?
> Cpython can't benefit from multi-core without multiple processes.
Sorry, you're incorrect. I/O Bound threads do in fact, take advantage
of multiple cores.
More information about the Python-list