Embedding python/multi-thread env
Gordon McMillan
gmcm at hypernet.com
Mon Jul 26 15:59:02 EDT 1999
Rich Salz wrote:
> I believe that you cannot create multiple interepreters in a single
> executable. The python global lock is to prevent *threads* within
> the interpreter from stomping on each other's critical sections.
Sure can; it's part of the API. They still share the global lock, but
they can have completely different sets of modules loaded, etc.
- Gordon
More information about the Python-list
mailing list