Please help with Threading

Fábio Santos fabiosantosart at gmail.com
Mon May 20 14:04:50 EDT 2013


I didn't know that.
On 20 May 2013 12:10, "Dave Angel" <davea at davea.name> wrote:
> Are you making function calls, using system libraries, or creating or
deleting any objects?  All of these use the GIL because they use common
data structures shared among all threads.  At the lowest level, creating an
object requires locked access to the memory manager.
>
>
> Don't forget, the GIL gets used much more for Python internals than it
does for the visible stuff.

I did not know that. It's both interesting and somehow obvious, although I
didn't know it yet.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20130520/5252c042/attachment.html>


More information about the Python-list mailing list