[Python-3000] Kill GIL?
Ronald Oussoren
ronaldoussoren at mac.com
Sun Sep 17 20:36:40 CEST 2006
On Sep 17, 2006, at 3:16 PM, Nick Coghlan wrote:
> Andre Meyer wrote:
>> While I understand the difficulties in removing the GIL and the
>> potential negative effect on single-threaded applications I would
>> very
>> much encourage discussion to seriously consider removing the GIL
>> (maybe
>> optionally) in Py3k. If not, what alternatives would you suggest?
>
> Brett Cannon's sandboxing work (which aims to provide first-class
> support for
> multiple interpreters in the same process for security reasons)
> also seems
> like a potentially fruitful approach to distributing processing to
> multiple cores:
> - use threads to perform blocking I/O in parallel
> - use multiple interpreters to perform Python execution in parallel
... except when you use extensions that use the PyGILState APIs,
those don't work with multiple interpreters :-(.
Ronald
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2157 bytes
Desc: not available
Url : http://mail.python.org/pipermail/python-3000/attachments/20060917/0d132cf9/attachment.bin
More information about the Python-3000
mailing list