Re: [C++-sig] Managing the GIL across competing threads

2012-03-17 Thread Adam Preble
On Sat, Mar 17, 2012 at 1:44 PM, Niall Douglas wrote: > If by "Python side" you mean Boost.Python, then I agree: BPL has no > support for GIL management at all, and it really ought to. This was > one of the things that was discussed in the BPL v3 discussions on > this list a few months ago. > > He

Re: [C++-sig] Combining Boost Serialization with Boost Python

2012-03-17 Thread Jim Bosch
On 03/14/2012 04:37 PM, James Amundson wrote: I have a use case involving Boost Serialization and Boost Python. I have a (mostly) C++ library wrapped with Python. The C++ code uses Boost Serialization to periodically create checkpoints from which the user can resume later. Getting the serializati

Re: [C++-sig] Re : [boost] Re : Using an element of a class A in a constructor of a class B (reflection with boost::python)

2012-03-17 Thread Jim Bosch
On 03/15/2012 09:22 AM, christophe jean-joseph wrote: Hello The situation is as follow. I have a C++ code that I haven't written and that I barely can modified. I am supposed to reflect this code in Python with boost. In the code, I have something looking like this: Class A_Base { A_Base(){}; ~

Re: [C++-sig] Managing the GIL across competing threads

2012-03-17 Thread Niall Douglas
On 16 Mar 2012 at 12:57, Adam Preble wrote: > Well the current design does have a problem, but I think it's more to do > with the Python side than the sum of the whole thing. If by "Python side" you mean Boost.Python, then I agree: BPL has no support for GIL management at all, and it really ough