On 2010-07-02 18:27:39-0500, Charles Solar wrote:
> Threads and python do not mix very well. You need to handle locking and
> unlocking the gil at the boundaries of python and c++.
> There are several posts here about this problem, just search for thread or
> 'no current thread' in the archives.
>
Threads and python do not mix very well. You need to handle locking and
unlocking the gil at the boundaries of python and c++.
There are several posts here about this problem, just search for thread or
'no current thread' in the archives.
A month ago I posted a modified boost python that will hand
Hi there.
I'm unsuccessfully trying to do a weird thing: to call an overridden
method in Python's class from a C++ thread. It doesn't work neither
with SWIG nor with Boost.Python. And I don't really sure it is
possible. Can someone comment on this? Below is the forwarded message
from the SWIG mail
On 07/02/10 15:42, Jakub Zytka wrote:
Ok, on newer boost (1.43) error message pointed the actual problem:
even for such simple dummy class some pickling support must be provided, eg.
struct dummy_pickle_suite : boost::python::pickle_suite
{
static
boost::python::tuple
getinitargs(const d
I've run into some problem i do not understand. Consider following example,
which is a slightly modified pickle2.cpp from boost's libs/python/test/:
#include
#include
#include
#include
#include
namespace boost_python_test {
struct dummy // my addition
{
};
// A friendly class.
class w