I just killed GIL!!!

Hrvoje Niksic hniksic at xemacs.org
Thu Apr 17 11:46:53 EDT 2008


sturlamolden <sturlamolden at yahoo.no> writes:

> If I use my main interpreter to delegate a task to one of its
> embedded 'children', its GIL will be released while it is waiting
> for the answer. Associating each embedded interpreter with a
> threading.Thread is all that remains. The GIL is released while the
> thread operating the child interpreter is blocked.

Have you tackled the communication problem?  The way I see it, one
interpreter cannot "see" objects created in the other because they
have separate pools of ... everything.  They can communicate by
passing serialized objects through ctypes, but that sounds like the
solutions that use processes.



More information about the Python-list mailing list