Embedding python/multi-thread env
Rich Salz
salzr at certco.com
Tue Jul 27 16:40:05 EDT 1999
More information about the Python-list mailing list
Tue Jul 27 16:40:05 EDT 1999
- Previous message (by thread): Embedding python/multi-thread env
- Next message (by thread): Parsing oracledb errors
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
You're right, I wasn't clear enough. You can create multiple interpreters, but you still must serialize all python calls -- e.g., don't have two threads trying to create an interpreter at the same time. Gordon McMillan wrote in message <1279107155-5981362 at hypernet.com>... 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
- Previous message (by thread): Embedding python/multi-thread env
- Next message (by thread): Parsing oracledb errors
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list