using python interpreters per thread in C++ program

sturlamolden sturlamolden at yahoo.no
Mon Sep 7 08:13:54 EDT 2009


On 7 Sep, 13:53, ganesh <ganeshbo... at gmail.com> wrote:

> I need to use these to get the proper concurrency in my multi-threaded
> application without any synchronization mechanisms.

Why will multiple interpreters give you better concurrency? You can
have more than one thread in the same interpreter.

Here is the API explained:

http://docs.python.org/c-api/init.html
http://www.linuxjournal.com/article/3641



More information about the Python-list mailing list