Re: [C++-sig] [patch] Make boost python accessible by multiple threads

2010-07-16 Thread Jim Bosch
On 07/16/2010 11:38 AM, Charles Solar wrote: I mentioned it before but I have this patch for boost python that adds code to lock and unlock the gil at all the boundaries I have found between python and boost python. This makes it so multiple threads can call into python without the user having t

[C++-sig] [patch] Make boost python accessible by multiple threads

2010-07-16 Thread Charles Solar
I mentioned it before but I have this patch for boost python that adds code to lock and unlock the gil at all the boundaries I have found between python and boost python. This makes it so multiple threads can call into python without the user having to lock and unlock the gil themselves. I am pre

Re: [C++-sig] Project architecture and Py++

2010-07-16 Thread Benoit Leveau
Benoit Leveau wrote: Pentix wrote: Hi, I’d like to use Python in the following way: 1) create a library (pyd) with some interfaces of the main program taken outside; generate then its code with py++ 2) create a set of scripts, that use this library 3) execute these scripts with boost::python f

Re: [C++-sig] Project architecture and Py++

2010-07-16 Thread Benoit Leveau
Pentix wrote: Hi, I’d like to use Python in the following way: 1) create a library (pyd) with some interfaces of the main program taken outside; generate then its code with py++ 2) create a set of scripts, that use this library 3) execute these scripts with boost::python from the main program